Filter checks

Passed  
Failed  
Warning  
Not Run  
Justified  
Information  
Incomplete  
   

Navigation

Model Advisor
1 By Product
1.1 Simulink
1.2 Simulink Coder
1.3 Embedded Coder
1.4 AUTOSAR Blockset
1.5 HDL Coder
1.5.1 Checks for blocks and block settings
1.5.2 Industry standard checks
1.5.3 Model configuration checks
1.5.4 Checks for ports and subsystems
1.5.5 Native Floating Point checks
1.6 Simscape
1.7 Simulink PLC Coder
1.7.1 Industry standard checks
1.7.2 Checks for blocks and block settings
1.7.3 Model configuration checks
1.8 Simulink Check
1.8.1 Modeling Standards
1.8.1.1 DO-178C/DO-331 Checks
1.8.1.2 IEC 61508, IEC 62304, ISO 26262, ISO 25119, EN 50128 and EN 50657 Checks
1.8.1.3 MAB Checks
1.8.1.4 JMAAB v5.1 Checks
1.8.1.5 JMAAB v6 Checks
1.8.2 Model Metrics
1.8.3 Clone Detection and Model Refactoring
1.9 Simulink Code Inspector
1.10 Requirements Toolbox
1.10.1 Requirements Consistency
1.11 Simulink Design Verifier
1.11.1 Design Error Detection
1.12 Simulink Control Design
2 By Task
2.1 Modeling Physical Systems
2.2 Replacing Blocks That Will Be Removed
2.3 Inherit from Simulink.VariantControl
2.4 Simulink PLC Coder
2.4.1 Model configuration checks
2.4.2 Checks for blocks and block settings
2.4.3 Industry standard checks
2.5 Simulation Accuracy
2.6 Simulation Runtime Accuracy Diagnostics
2.7 Managing Data Store Memory Blocks
2.8 Simulink Model File Integrity
2.9 S-function Checks
2.10 Units Inconsistencies
2.11 Model Referencing
2.12 Managing Library Links And Variants
2.13 Data Transfer Efficiency
2.14 Modeling Signals and Parameters using Buses
2.15 Code Generation Efficiency
2.16 Modeling Single-Precision Systems
2.17 Migrating to Simplified Initialization mode
2.18 Row-Major Code Generation
2.19 Modeling Standards for MISRA C:2012
2.20 Modeling Standards for Secure Coding (CERT C, CWE, ISO/IEC TS 17961)
2.20.1 High-Integrity Systems
2.20.1.1 Simulink
2.20.1.2 Configuration
2.20.1.3 Naming
2.20.1.4 Code
2.21 Upgrading to the Current Simulink Version
2.22 Component Deployment Guidelines for Service Interface
2.23 Modeling Standards for DO-178C/DO-331
2.23.1 High-Integrity Systems
2.23.1.1 Simulink
2.23.1.2 Stateflow
2.23.1.3 MATLAB
2.23.1.4 Configuration
2.23.1.5 Naming
2.23.1.6 Requirements
2.23.1.7 Code
2.23.2 Simulink
2.23.3 Library Links
2.23.4 Requirements Consistency
2.24 Modeling Standards for DO-254
2.24.1 High-Integrity Systems
2.24.1.1 Simulink
2.24.1.2 Stateflow
2.24.1.3 MATLAB
2.24.1.4 Configuration
2.24.1.5 Naming
2.24.1.6 Requirements
2.24.2 Library Links
2.24.3 Requirements Consistency
2.24.4 HDL Coder
2.24.4.1 Checks for blocks and block settings
2.24.4.2 Industry standard checks
2.24.4.3 Model configuration checks
2.24.4.4 Native Floating Point checks
2.24.4.5 Checks for ports and subsystems
2.25 Modeling Standards for IEC 61508
2.25.1 High-Integrity Systems
2.25.1.1 Simulink
2.25.1.2 Stateflow
2.25.1.3 MATLAB
2.25.1.4 Configuration
2.25.1.5 Naming
2.25.1.6 Requirements
2.25.1.7 Code
2.26 Modeling Standards for IEC 62304
2.26.1 High-Integrity Systems
2.26.1.1 Simulink
2.26.1.2 Stateflow
2.26.1.3 MATLAB
2.26.1.4 Configuration
2.26.1.5 Naming
2.26.1.6 Requirements
2.26.1.7 Code
2.27 Modeling Standards for ISO 26262
2.27.1 High-Integrity Systems
2.27.1.1 Simulink
2.27.1.2 Stateflow
2.27.1.3 MATLAB
2.27.1.4 Configuration
2.27.1.5 Naming
2.27.1.6 Requirements
2.27.1.7 Code
2.28 Modeling Standards for ISO 25119
2.28.1 High-Integrity Systems
2.28.1.1 Simulink
2.28.1.2 Stateflow
2.28.1.3 MATLAB
2.28.1.4 Configuration
2.28.1.5 Naming
2.28.1.6 Requirements
2.28.1.7 Code
2.29 Modeling Standards for EN 50128/EN 50657
2.29.1 High-Integrity Systems
2.29.1.1 Simulink
2.29.1.2 Stateflow
2.29.1.3 MATLAB
2.29.1.4 Configuration
2.29.1.5 Naming
2.29.1.6 Requirements
2.29.1.7 Code
2.30 Model Metrics
2.30.1 Count Metrics
2.30.2 Complexity Metrics
2.30.3 Readability Metrics
2.31 Modeling Standards for MAB
2.31.1 Naming Conventions
2.31.1.1 General
2.31.1.2 Content
2.31.2 Simulink
2.31.2.1 Configuration Parameters
2.31.2.2 Diagram Appearance
2.31.2.3 Signal
2.31.2.4 Block Consistency
2.31.2.5 Conditional Subsystem relations
2.31.2.6 Operation Blocks
2.31.2.7 Other blocks
2.31.3 Stateflow
2.31.3.1 Block/Data/Events
2.31.3.2 Diagram
2.31.3.3 Condition Transition/Action
2.31.3.4 Label Description
2.31.3.5 Miscellaneous
2.31.4 MATLAB
2.31.4.1 Appearance
2.31.4.2 Data and Operations
2.31.4.3 Usage
2.32 Modeling Standards for JMAAB v5.1
2.32.1 Naming Conventions
2.32.2 Model Architecture
2.32.3 Model Configuration Options
2.32.4 Simulink
2.32.5 Stateflow
2.32.6 MATLAB Functions
2.33 Modeling Standards for JMAAB v6
2.33.1 Naming Conventions
2.33.2 Model Architecture
2.33.3 Model Configuration Options
2.33.4 Simulink
2.33.5 Stateflow
2.33.6 MATLAB Functions
2.34 Clone Detection and Model Refactoring
2.35 Simulink Code Inspector compatibility checks
2.36 Frequency Response Estimation
2.37 Simulink Design Verifier Compatibility Check
2.38 Simulink Design Verifier Design Error Checks
2.39 Requirements Consistency Checking

View

Scroll to top
Show check details
Model Advisor Report - untitled
Simulink version: 24.2 Model version: 1.0
System: untitled Current run: 10-Feb-2025 11:53:04
Treat as Referenced Model: off  

Run Summary
Incomplete Failed Warning Justified Passed Information Not Run Total
   0    17    221    0    666    0    1342 2246
Error occurred during model compile.

['untitled']: The following errors were found in the model untitled.


['untitled/Solver Configuration']: *** Model not assembled: singularity violation *** Resolve this issue in order to simulate the model.



Model Advisor


    1 By Product  0  0  0  0  0  0  887


        1.1 Simulink  0  0  0  0  0  0  44

        1.2 Simulink Coder  0  0  0  0  0  0  8

        1.3 Embedded Coder  0  0  0  0  0  0  35


  Identify lookup table blocks that generate expensive out-of-range checking code

Not Run


  Check output types of logic blocks

Not Run


  Check the hardware implementation

Not Run


  Identify questionable software environment specifications

Not Run


  Identify questionable code instrumentation (data I/O)

Not Run


  Check configuration parameters for generation of inefficient saturation code

Not Run


  Check for blocks not recommended for C/C++ production code deployment

Not Run


  Identify blocks generating inefficient algorithms

Not Run


  Check configuration parameters for MISRA C:2012

Not Run


  Check for blocks not recommended for MISRA C:2012

Not Run


  Check for unsupported block names

Not Run


  Check usage of Assignment blocks

Not Run


  Check for switch case expressions without a default case

Not Run


  Check for missing error ports in AUTOSAR receiver interfaces

Not Run


  Check for variant blocks that do not have a default choice

Not Run


  Check configuration parameters for secure coding standards

Not Run


  Check for blocks not recommended for secure coding standards

Not Run


  Check signal interfaces

Not Run


  Check configuration for component deployment using service interface configuration

Not Run


  Check startup and shutdown event

Not Run


  Identify questionable subsystem settings

Not Run


  Check usage of 'long long' data type

Not Run


  Check for blocks not supported for row-major code generation

Not Run


  Identify TLC S-Functions with unset array layout

Not Run


  Identify blocks that generate expensive fixed-point and saturation code

Not Run


  Check for missing const qualifiers in model functions

Not Run


  Check bus object names that are used as bus element names

Not Run


  Check modeling style for component deployment

Not Run


  Check usage of partial data send

Not Run


  Identify questionable fixed-point operations

Not Run


  Identify blocks that generate expensive rounding code

Not Run


  Check for bitwise operations on signed integers

Not Run


  Check for recursive function calls

Not Run


  Check for equality and inequality operations on floating-point values

Not Run


  Check integer word lengths

Not Run



        1.4 AUTOSAR Blockset  0  0  0  0  0  0  2


  Check compatibility of AUTOSAR Interpolation Routines

Not Run


  Check model configuration parameters for AUTOSAR compliance

Not Run



        1.5 HDL Coder  0  0  0  0  0  0  36


            1.5.1 Checks for blocks and block settings  0  0  0  0  0  0  11


  Check for unsupported blocks

Not Run


  Check for MATLAB Function block settings

Not Run


  Check for obsolete Unit Delay Enabled/Resettable blocks

Not Run


  Check for infinite and continuous sample time sources

Not Run


  Check for unsupported storage class for signal objects

Not Run


  Check for Stateflow chart settings

Not Run


  Check for Trigonometric Function block for LUT-based approximation method

Not Run


  Identify unconnected lines, input ports, and output ports

Not Run


  Check for HDL Reciprocal block usage

Not Run


  Check for large matrix operations

Not Run


  Check for blocks that have nonzero output latency

Not Run



            1.5.2 Industry standard checks  0  0  0  0  0  0  11


  Check architecture name

Not Run


  Check clock settings

Not Run


  Check clock, reset, and enable signals

Not Run


  Check file extension

Not Run


  Check generics

Not Run


  Check naming conventions

Not Run


  Check package file names

Not Run


  Check signal and port names

Not Run


  Check entity and architecture

Not Run


  Check module/entity names

Not Run


  Check top-level subsystem/port names

Not Run



            1.5.3 Model configuration checks  0  0  0  0  0  0  6


  Check delay balancing setting

Not Run


  Check for global reset setting for Xilinx and Altera devices

Not Run


  Check inline configurations setting

Not Run


  Check for model parameters suited for HDL code generation

Not Run


  Check for visualization settings

Not Run


  Check algebraic loops

Not Run



            1.5.4 Checks for ports and subsystems  0  0  0  0  0  0  1


  Check for invalid top level subsystem

Not Run



            1.5.5 Native Floating Point checks  0  0  0  0  0  0  7


  Check for double datatypes in the model

Not Run


  Check for Data Type Conversion blocks with incompatible settings

Not Run


  Check for HDL Reciprocal block usage

Not Run


  Check for Relational Operator block usage

Not Run


  Check for single datatypes in the model

Not Run


  Check for unsupported blocks with Native Floating Point

Not Run


  Check blocks with nonzero ulp error

Not Run



        1.6 Simscape  0  0  0  0  0  0  2


  Check consistency of block parameter units

Not Run


  Check for dry hydraulic nodes

Not Run



        1.7 Simulink PLC Coder  0  0  0  0  0  0  24

        1.8 Simulink Check  0  0  0  0  0  0  648

        1.9 Simulink Code Inspector  0  0  0  0  0  0  69

        1.10 Requirements Toolbox  0  0  0  0  0  0  4


            1.10.1 Requirements Consistency  0  0  0  0  0  0  4


  Identify requirement links with missing documents

Not Run


  Identify requirement links that specify invalid locations within documents

Not Run


  Identify selection-based links having description fields that do not match their requirements document text

Not Run


  Identify requirement links with path type inconsistent with preferences

Not Run



        1.11 Simulink Design Verifier  0  0  0  0  0  0  14

        1.12 Simulink Control Design  0  0  0  0  0  0  1


    2 By Task  0  17  221  0  666  0  455


        2.1 Modeling Physical Systems  0  0  0  0  1  0  1


  Check consistency of block parameter units

Identify Simscape blocks with ambiguous setting of parameter units. For example, a block parameter expected in 'Hz' may be specified in the dialog with unit of 'rad/s'. Such settings could lead to unexpected conversion factors applied to the numerical value.

Passed
No Simscape blocks with ambiguous unit setting found in the model.


  Check for dry hydraulic nodes

Not Run



        2.2 Replacing Blocks That Will Be Removed  0  0  0  0  1  0  0


  Identify Environment Controller blocks to be replaced with Variant Source blocks

Passed
The model does not contain any Environment Controller blocks.



        2.3 Inherit from Simulink.VariantControl  0  0  0  0  1  0  0


  Identify variant blocks with VariantActivation set to 'inherit from Simulink.VariantControl' but do not use Simulink.VariantControl

Passed



        2.4 Simulink PLC Coder  0  15  3  0  3  0  3


            2.4.1 Model configuration checks  0  7  0  0  0  0  1


  Check Data Store Memory blocks

Warning
No block selected in the following model

Recommended Action
Open Model Advisor with top-level subsystem selected
_________________________________________________________________________________________


  Check model for Stateflow messages

Warning
No block selected in the following model

Recommended Action
Open Model Advisor with top-level subsystem selected
_________________________________________________________________________________________


  Check if signal lines are configured properly

Warning
No block selected in the following model

Recommended Action
Open Model Advisor with top-level subsystem selected
_________________________________________________________________________________________


  Check if model uses row major algorithms

Warning
No block selected in the following model

Recommended Action
Open Model Advisor with top-level subsystem selected
_________________________________________________________________________________________


  Check model mask parameters

Warning
No block selected in the following model

Recommended Action
Open Model Advisor with top-level subsystem selected
_________________________________________________________________________________________


  Check if model uses machine parented data

Warning
No block selected in the following model

Recommended Action
Open Model Advisor with top-level subsystem selected
_________________________________________________________________________________________


  Check if model uses custom code

Warning
No block selected in the following model

Recommended Action
Open Model Advisor with top-level subsystem selected
_________________________________________________________________________________________


  Check model tunable parameters

Not Run



            2.4.2 Checks for blocks and block settings  0  8  0  0  0  0  1


  Check if model uses event based blocks

Warning
No block selected in the following model

Recommended Action
Open Model Advisor with top-level subsystem selected
_________________________________________________________________________________________


  Check if model uses probe blocks

Warning
No block selected in the following model

Recommended Action
Open Model Advisor with top-level subsystem selected
_________________________________________________________________________________________


  Check if model uses environment controller blocks

Warning
No block selected in the following model

Recommended Action
Open Model Advisor with top-level subsystem selected
_________________________________________________________________________________________


  Check Stateflow chart update

Warning
No block selected in the following model

Recommended Action
Open Model Advisor with top-level subsystem selected
_________________________________________________________________________________________


  Check issues with integrator blocks

Warning
No block selected in the following model

Recommended Action
Open Model Advisor with top-level subsystem selected
_________________________________________________________________________________________


  Check if model uses blocks that are not supported

Warning
No block selected in the following model

Recommended Action
Open Model Advisor with top-level subsystem selected
_________________________________________________________________________________________


  Check if model can generate testbench

Warning
No block selected in the following model

Recommended Action
Open Model Advisor with top-level subsystem selected
_________________________________________________________________________________________


  Check function packaging configuration

Warning
No block selected in the following model

Recommended Action
Open Model Advisor with top-level subsystem selected
_________________________________________________________________________________________


  Check trigonometric blocks

Not Run



            2.4.3 Industry standard checks  0  0  3  0  3  0  1


  Define the names to avoid

Names defined as keywords must not be used

Warning
This check is not intended for the root level of the model

Recommended Action
Run this check for the subsystem level
_________________________________________________________________________________________

Input Parameters Selection
Name Value
Open Keywords File N/A


  Define the use of case (capitals)

The use of capital letters in object names must be clear and consistent across the project

Warning
This check is not intended for the root level of the model

Recommended Action
Run this check for the subsystem level
_________________________________________________________________________________________

Input Parameters Selection
Name Value
Case condition alllowercase
Ignore prefix false


  Define the maximum variable name length

Names that exceed the defined maximum name length must be avoided

Warning
This check is not intended for the root level of the model

Recommended Action
Run this check for the subsystem level
_________________________________________________________________________________________

Input Parameters Selection
Name Value
Maximum acceptable length 32


  Comments must describe the intention of the code

Check if function blocks have comments

Warning
This check is not intended for the root level of the model

Recommended Action
Run this check for the subsystem level
_________________________________________________________________________________________


  Avoid nested comments

Nesting of multiline comments must be avoided

Warning
This check is not intended for the root level of the model

Recommended Action
Run this check for the subsystem level
_________________________________________________________________________________________


  Define maximum number of input/output/in-out variables of a POU

The number of input variables, output variables, and in-out variables of a POU must be within a limited set

Warning
This check is not intended for the root level of the model

Recommended Action
Run this check for the subsystem level
_________________________________________________________________________________________

Input Parameters Selection
Name Value
Maximum number of I/O variables 20


  Define type prefixes for variables (if used)

Not Run



        2.5 Simulation Accuracy  0  0  0  0  0  0  1


  Check for non-continuous signals driving derivative ports

Not Run



        2.6 Simulation Runtime Accuracy Diagnostics  0  0  0  0  2  0  0


  Runtime diagnostics for S-functions

Passed


  Check if Read/Write diagnostics are enabled for Data Store blocks

Passed



        2.7 Managing Data Store Memory Blocks  0  0  1  0  0  0  3


  Check Data Store Memory blocks for multitasking, strong typing, and shadowing issues

Duplicate data store names checking is not set to 'error'. Duplicate usage of data store names can lead to unintended shadowing of data stores of higher model scope. Consider changing the Duplicate data store names setting to 'error'.


  Check data store block sample times for modeling errors

Not Run


  Check for potential ordering issues involving data store access

Not Run


  Check for relative execution order change for Data Store Read and Data Store Write blocks

Not Run



        2.8 Simulink Model File Integrity  0  0  0  0  1  0  0


  Check Model History properties

Check models for edited Model History property values
Check that parameters in the Model Properties dialog History pane use the default tags. In the MDL file format you can configure some model properties to make use of source control tool keyword substitution. If you save your model in SLX format, source control tools cannot perform keyword substitution. Any information in the model file from such keyword substitution is cached when you first save the MDL file as SLX, and is never updated again. The Model Properties History pane and any Model Info blocks in your model show stale information from then on.

Passed
This model uses the default value for property ModifiedByFormat.

Passed
This model uses the default value for property ModifiedDateFormat.

Passed
This model uses the default value for property ModelVersionFormat.



        2.9 S-function Checks  0  0  0  0  1  0  0


  Check S-functions in the model

There are no user-defined S-functions in the model.



        2.10 Units Inconsistencies  0  0  0  0  0  0  5


  Identify unit mismatches in the model

Not Run


  Identify automatic unit conversions in the model

Not Run


  Identify disallowed unit systems in the model

Not Run


  Identify undefined units in the model

Not Run


  Identify ambiguous units in the model

Not Run



        2.11 Model Referencing  0  0  0  0  6  0  2


  Check for model reference configuration mismatch

Passed


  Check diagnostic settings ignored during accelerated model reference simulation

The configuration parameter settings passed the check.


  Check code generation identifier formats used for model reference

The configuration parameter settings passed the check.


  Check for parameter tunability information ignored for referenced models

Passed


  Check for implicit signal resolution

Passed


  Check bus signals treated as vectors

Not Run


  Check root model Inport block specifications

Passed


  Check for large number of function arguments from virtual bus across model reference boundary

Not Run



        2.12 Managing Library Links And Variants  0  0  0  0  4  0  0

        2.13 Data Transfer Efficiency  0  0  0  0  0  0  1


  Check Delay, Unit Delay and Zero-Order Hold blocks for rate transition

Not Run



        2.14 Modeling Signals and Parameters using Buses  0  0  0  0  1  0  2


  Check for optimal bus virtuality

Passed


  Check structure parameter usage with bus signals

Not Run


  Check bus signals treated as vectors

Not Run



        2.15 Code Generation Efficiency  0  1  1  0  6  0  3


  Check optimization settings

Check optimization settings

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Use bitsets for storing state configuration (StateBitsets) off on
Warning Use bitsets for storing Boolean data (DataBitsets) off on


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Identify questionable software environment specifications

Passed


  Identify lookup table blocks that generate expensive out-of-range checking code

Passed


  Identify questionable code instrumentation (data I/O)

Passed


  Check output types of logic blocks

Identify logic blocks that are outputting non-Boolean data types.

Passed
There are no logic blocks in the model or subsystem.


  Check configuration parameters for generation of inefficient saturation code

Passed


  Identify blocks that generate expensive rounding code

Not Run


  Identify questionable fixed-point operations

Not Run


  Check usage of 'long long' data type

Error occurred during model compile.

['untitled']: The following errors were found in the model untitled.


['untitled/Solver Configuration']: *** Model not assembled: singularity violation *** Resolve this issue in order to simulate the model.


  Identify blocks that generate expensive fixed-point and saturation code

Not Run


  Identify blocks generating inefficient algorithms

Passed
No inefficient algorithms found in the model.



        2.16 Modeling Single-Precision Systems  0  0  0  0  0  0  1


  Identify questionable operations for strict single-precision design

Not Run



        2.17 Migrating to Simplified Initialization mode  0  0  0  0  0  0  4


  Check usage of Merge blocks

Not Run


  Check usage of Outport blocks

Not Run


  Check usage of Discrete-Time Integrator blocks

Not Run


  Check model settings for migration to simplified initialization mode

Not Run



        2.18 Row-Major Code Generation  0  0  0  0  1  0  2


  Identify blocks generating inefficient algorithms

Passed
No inefficient algorithms found in the model.


  Check for blocks not supported for row-major code generation

Not Run


  Identify TLC S-Functions with unset array layout

Not Run



        2.19 Modeling Standards for MISRA C:2012  0  0  1  0  7  0  6


  Check configuration parameters for MISRA C:2012

Identify configuration parameters that might impact MISRA C:2012 compliant code generation.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
Warning Model Verification block enabling (AssertControl) UseLocalSettings DisableAll  
D - Warning Shared code placement (UtilityFuncGeneration) Auto Shared location  
Warning Generate shared constants (GenerateSharedConstants) Prerequisite constraint not met. off UtilityFuncGeneration
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  
Warning SupportContinuousTime Prerequisite constraint not met. off SystemTargetFile
Warning SupportNonInlinedSFcns Prerequisite constraint not met. off SystemTargetFile
Warning MAT-file logging (MatFileLogging) on off  
Warning ParenthesesLevel Prerequisite constraint not met. Standards, Maximum SystemTargetFile
Warning SuppressUnreachableDefaultCases Parameter is inactive! Enable parameter or modify dependent parameter value. off  
Warning CastingMode Prerequisite constraint not met. Standards SystemTargetFile
Warning InternalIdentifier Prerequisite constraint not met. Shortened SystemTargetFile
Warning Use division for fixed-point net slope computation (UseDivisionForNetSlopeComputation) off on, UseDivisionForReciprocalsOfIntegersOnly  
Warning EnableSignedLeftShifts Prerequisite constraint not met. off SystemTargetFile
Warning EnableSignedRightShifts Prerequisite constraint not met. off SystemTargetFile
Warning Inf or NaN block output (SignalInfNanChecking) none warning  
Warning Dynamic memory allocation in MATLAB functions (MATLABDynamicMemAlloc) on off  
Warning Undirected event broadcasts (SFUndirectedBroadcastEventsDiag) warning error  
Warning Compile-time recursion limit for MATLAB functions (CompileTimeRecursionLimit) 50 0  
Warning Enable run-time recursion for MATLAB functions (EnableRuntimeRecursion) on off  
Warning MATLABFcnDesc Prerequisite constraint not met. on GenerateComments, SystemTargetFile
Warning Leverage target hardware instruction set extensions (InstructionSetExtensions) SSE2 None  
∧ Less


Recommended Action
Modify the configuration parameters listed above to the recommended values.


  Check for blocks not recommended for C/C++ production code deployment

Passed


  Check for blocks not recommended for MISRA C:2012

Passed


  Check for unsupported block names

Passed


  Check usage of Assignment blocks

Passed


  Check for switch case expressions without a default case

Identify switch case expressions that do not have a default case.

Passed
All switch case expressions have default cases.


  Check for missing error ports in AUTOSAR receiver interfaces

Identify AUTOSAR receiver interface ports that do not have a matching error port.

Passed
Model is not configured as an AUTOSAR target.


  Check for bitwise operations on signed integers

Not Run


  Check for recursive function calls

Not Run


  Check for equality and inequality operations on floating-point values

Not Run


  Check for missing const qualifiers in model functions

Not Run


  Check integer word lengths

Not Run


  Check bus object names that are used as bus element names

Not Run


  Check for variant blocks that do not have a default choice

Passed



        2.20 Modeling Standards for Secure Coding (CERT C, CWE, ISO/IEC TS 17961)  0  0  4  0  8  0  15


  Check configuration parameters for secure coding standards

Identify configuration parameters that might impact secure coding standards compliant code generation.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
Warning Model Verification block enabling (AssertControl) UseLocalSettings DisableAll  
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  
Warning SupportContinuousTime Prerequisite constraint not met. off SystemTargetFile
Warning SupportNonInlinedSFcns Prerequisite constraint not met. off SystemTargetFile
Warning MAT-file logging (MatFileLogging) on off  
Warning EnableSignedLeftShifts Prerequisite constraint not met. off SystemTargetFile
Warning EnableSignedRightShifts Prerequisite constraint not met. off SystemTargetFile
Warning Inf or NaN block output (SignalInfNanChecking) none warning  
Warning Dynamic memory allocation in MATLAB functions (MATLABDynamicMemAlloc) on off  
Warning Undirected event broadcasts (SFUndirectedBroadcastEventsDiag) warning error  
Warning Compile-time recursion limit for MATLAB functions (CompileTimeRecursionLimit) 50 0  
Warning Enable run-time recursion for MATLAB functions (EnableRuntimeRecursion) on off  
Warning MATLABFcnDesc Prerequisite constraint not met. on GenerateComments, SystemTargetFile
∧ Less


Recommended Action
Modify the configuration parameters listed above to the recommended values.


  Check for blocks not recommended for C/C++ production code deployment

Passed


  Check for blocks not recommended for secure coding standards

Passed


  Check usage of Assignment blocks

Passed


  Check for switch case expressions without a default case

Identify switch case expressions that do not have a default case.

Passed
All switch case expressions have default cases.


  Check for bitwise operations on signed integers

Not Run


  Check for equality and inequality operations on floating-point values

Not Run


  Check integer word lengths

Not Run


  Check for dead logic

Not Run


  Check for integer overflow

Not Run


  Check for division by zero

Not Run


  Check for out of bound array access

Not Run


  Check for specified minimum and maximum value violations

Not Run



            2.20.1 High-Integrity Systems  0  0  3  0  4  0  7


                2.20.1.1 Simulink  0  0  0  0  3  0  6

                2.20.1.2 Configuration  0  0  2  0  0  0  0


  Check safety-related optimization settings for data type conversions

Check optimization settings in the model configuration that apply to data type conversions and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Remove code from floating-point to integer conversions that wraps out-of-range values (EfficientFloat2IntCast) off on


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related optimization settings for division arithmetic exceptions

Check optimization settings in the model configuration that apply to division arithmetic exceptions and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  
Warning NoFixptDivByZeroProtection Prerequisite constraint not met. off SystemTargetFile


Recommended Action
Follow the links in the result table to modify the model configuration parameters.



                2.20.1.3 Naming  0  0  0  0  1  0  1


  Check model file name

Identify inappropriate characters and length issues in model file name.

Passed
No issues found with model file name.


  Check model element names

Not Run



                2.20.1.4 Code  0  0  1  0  0  0  0


  Check configuration parameters for MISRA C:2012

Identify configuration parameters that might impact MISRA C:2012 compliant code generation.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
Warning Model Verification block enabling (AssertControl) UseLocalSettings DisableAll  
D - Warning Shared code placement (UtilityFuncGeneration) Auto Shared location  
Warning Generate shared constants (GenerateSharedConstants) Prerequisite constraint not met. off UtilityFuncGeneration
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  
Warning SupportContinuousTime Prerequisite constraint not met. off SystemTargetFile
Warning SupportNonInlinedSFcns Prerequisite constraint not met. off SystemTargetFile
Warning MAT-file logging (MatFileLogging) on off  
Warning ParenthesesLevel Prerequisite constraint not met. Standards, Maximum SystemTargetFile
Warning SuppressUnreachableDefaultCases Parameter is inactive! Enable parameter or modify dependent parameter value. off  
Warning CastingMode Prerequisite constraint not met. Standards SystemTargetFile
Warning InternalIdentifier Prerequisite constraint not met. Shortened SystemTargetFile
Warning Use division for fixed-point net slope computation (UseDivisionForNetSlopeComputation) off on, UseDivisionForReciprocalsOfIntegersOnly  
Warning EnableSignedLeftShifts Prerequisite constraint not met. off SystemTargetFile
Warning EnableSignedRightShifts Prerequisite constraint not met. off SystemTargetFile
Warning Inf or NaN block output (SignalInfNanChecking) none warning  
Warning Dynamic memory allocation in MATLAB functions (MATLABDynamicMemAlloc) on off  
Warning Undirected event broadcasts (SFUndirectedBroadcastEventsDiag) warning error  
Warning Compile-time recursion limit for MATLAB functions (CompileTimeRecursionLimit) 50 0  
Warning Enable run-time recursion for MATLAB functions (EnableRuntimeRecursion) on off  
Warning MATLABFcnDesc Prerequisite constraint not met. on GenerateComments, SystemTargetFile
Warning Leverage target hardware instruction set extensions (InstructionSetExtensions) SSE2 None  
∧ Less


Recommended Action
Modify the configuration parameters listed above to the recommended values.



        2.21 Upgrading to the Current Simulink Version  0  0  1  0  0  0  0


  Open the Upgrade Advisor

Warning
To check for upgrade issues, open the Upgrade Advisor.

Recommended Action
Click the link below to close the Model Advisor and open the Upgrade Advisor for untitled.
Open the Upgrade Advisor



        2.22 Component Deployment Guidelines for Service Interface  0  0  0  0  0  0  5


  Check modeling style for component deployment

Not Run


  Check signal interfaces

Not Run


  Check configuration for component deployment using service interface configuration

Not Run


  Check startup and shutdown event

Not Run


  Check usage of partial data send

Not Run



        2.23 Modeling Standards for DO-178C/DO-331  0  0  27  0  40  0  36


  Display model version information

Not Run



            2.23.1 High-Integrity Systems  0  0  27  0  34  0  35


                2.23.1.1 Simulink  0  0  1  0  11  0  26

                2.23.1.2 Stateflow  0  0  1  0  6  0  4


  Check state machine type of Stateflow charts

Identify Stateflow Charts whose State Machine Type differs from the type set in the Model Advisor Configuration Editor.

Passed
No Stateflow Charts found that deviate from recommended state machine type.


  Check usage of recursions

Not Run


  Check Stateflow debugging options

Identify whether Stateflow debugging options are set appropriately.

Warning
The following Stateflow debugging options are not set appropriately:

Parameter Current Value Recommended Values
Wrap on overflow (IntegerOverflowMsg) warning error
Simulation range checking (SignalRangeChecking) none error


Recommended Action
Change the Stateflow debugging options to the recommended value.


  Check Stateflow charts for transition paths that cross parallel state boundaries

Identify transition paths that cross parallel state boundaries in Stateflow charts.

Passed
No transition paths crossing parallel state boundaries were found in Stateflow charts.


  Check for inappropriate use of transition paths

Identify transition paths that go into and out of a state without ending on a substate.

Passed
No transition paths found that go into and out of a state without ending on a substate.


  Check Stateflow charts for strong data typing

Not Run


  Check naming of ports in Stateflow charts

Identify mismatches between names of Stateflow ports and associated signals.

Passed
There are no name mismatches between Stateflow ports and associated signals


  Check scoping of Stateflow data objects

Identify Stateflow data objects with local scope that are not scoped at the chart level or below.

Passed
All Stateflow data objects are properly scoped.


  Check Stateflow charts for uniquely defined data objects

Identify local data identifiers that are defined in multiple scopes within a chart.

Passed
No Stateflow data identifiers found to be defined in multiple scopes.


  Check assignment operations in Stateflow charts

Not Run


  Check Stateflow charts for unary operators

Not Run



                2.23.1.3 MATLAB  0  0  0  0  7  0  4


  Check usage of standardized MATLAB function headers

Identify usage of standardized function headers in MATLAB function.

Passed
No MATLAB function blocks found without standardized function headers.


  Check for MATLAB Function interfaces with inherited properties

Identify MATLAB Functions that have inputs, outputs, or parameters with inherited complexity or data type properties.

Passed
No MATLAB Function interfaces with inherited complexity or data type properties found.


  Check MATLAB Function metrics

Identify MATLAB Functions that violate code and complexity metrics.

Passed
No MATLAB Function blocks found that violate code and complexity metrics.


  Check MATLAB Code Analyzer messages

Check MATLAB functions for %#codegen directive, MATLAB Code Analyzer messages, and justification message IDs.

Passed
No MATLAB Function blocks found with Code Analyzer messages, missing %#codegen directive or inappropriate usage of justification message IDs.


  Check if/elseif/else patterns in MATLAB Function blocks

Identify if/elseif/else patterns without appropriate else conditions in embedded MATLAB code.

Passed
No inappropriate if/elseif/else patterns found.


  Check switch statements in MATLAB Function blocks

Identify inappropriately used switch statements in embedded MATLAB code.

Passed
No inappropriately used switch statements found.


  Check usage of relational operators in MATLAB Function blocks

Not Run


  Check usage of logical operators and functions in MATLAB Function blocks

Not Run


  Check type and size of condition expressions

Not Run


  Check MATLAB functions not supported for code generation

Identify MATLAB functions that are not supported for code generation.

Passed
All identified MATLAB functions are supported for code generation.


  Metrics for generated code complexity

Not Run



                2.23.1.4 Configuration  0  0  23  0  8  0  0


  Check safety-related diagnostic settings for data store memory

Check diagnostic settings in the model configuration that apply to data store memory and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Detect read before write (ReadBeforeWriteMsg) UseLocalSettings EnableAllAsError
Warning Detect write after read (WriteAfterReadMsg) UseLocalSettings EnableAllAsError
Warning Detect write after write (WriteAfterWriteMsg) UseLocalSettings EnableAllAsError
Warning Duplicate data store names (UniqueDataStoreMsg) none error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for saving

Check diagnostic settings in the model configuration that apply to saving model files.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Block diagram contains disabled library links (SaveWithDisabledLinksMsg) warning error
Warning Block diagram contains parameterized library links (SaveWithParameterizedLinksMsg) warning error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related model referencing settings

Check model referencing settings in the model configuration that might impact safety.

Passed
All constraints on model configuration parameters have been met.

Status Parameter Current Value Recommended Values
Pass Rebuild (UpdateModelReferenceTargets) IfOutOfDateOrStructuralChange AssumeUpToDate, IfOutOfDateOrStructuralChange
Pass Minimize artificial algebraic loop occurrences (ModelReferenceMinAlgLoopOccurrences) off off


  Check safety-related code generation settings for comments

Check code generation settings in the model configuration that apply comments and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
Warning Show eliminated blocks (ShowEliminatedStatement) off on GenerateComments
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  
Warning Verbose comments for 'Model default' storage class (ForceParamTrailComments) off on GenerateComments
Warning ReqsInCode Prerequisite constraint not met. on SystemTargetFile, GenerateComments
Warning Stateflow object comments (StateflowObjectComments) off on GenerateComments
Warning MATLAB source code as comments (MATLABSourceComments) off on GenerateComments


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related code generation interface settings

Check code generation interface settings in the model configuration that might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
Warning Support non-finite numbers (SupportNonFinite) on off  
Warning SupportContinuousTime Prerequisite constraint not met. off SystemTargetFile
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  
Warning SupportNonInlinedSFcns Prerequisite constraint not met. off SystemTargetFile
Warning IncludeMdlTerminateFcn Prerequisite constraint not met. off SystemTargetFile
Warning SuppressErrorStatus Prerequisite constraint not met. on SystemTargetFile
Warning MAT-file logging (MatFileLogging) on off  


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related solver settings for simulation time

Identify if the model Start time is set to 0 and Stop time is less than the Application Life Span.

Passed
No issues found with solver settings for simulation time.


  Check safety-related solver settings for solver options

Check solver settings in the model configuration that apply to solvers and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Type (SolverType) Variable-step Fixed-step
Warning Solver (SolverName) VariableStepAuto FixedStepDiscrete


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related solver settings for tasking and sample-time

Check solver settings in the model configuration that apply to tasking and sample-time constraints and might impact safety.

Passed


  Check safety-related diagnostic settings for solvers

Check diagnostic settings in the model configuration that apply to solvers and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Algebraic loop (AlgebraicLoopMsg) warning error
Warning Minimize artificial algebraic loop occurrences (ArtificialAlgebraicLoopMsg) warning error
Warning Block priority violation (BlockPriorityViolationMsg) warning error
Warning Automatic solver parameter selection (SolverPrmCheckMsg) none error
Warning State name clash (StateNameClashWarn) none warning


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for sample time

Check diagnostic settings in the model configuration that apply to sample time and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Source block specifies -1 sample time (InheritedTsInSrcMsg) warning error
Warning Enforce sample times specified by Signal Specification blocks (SigSpecEnsureSampleTimeMsg) warning error
Warning Tasks with equal priority (TasksWithSamePriorityMsg) warning error
Warning Unspecified inheritability of sample time (UnknownTsInhSupMsg) warning error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related optimization settings for logic signals

Check optimization settings in the model configuration that apply to logic signals and might impact safety.

Passed
All constraints on model configuration parameters have been met.

Status Parameter Current Value Recommended Values
Pass Implement logic signals as Boolean data (vs. double) (BooleanDataType) on on


  Check safety-related code generation settings for code style

Check code generation settings in the model configuration that apply to code style and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
Warning ParenthesesLevel Prerequisite constraint not met. Maximum, Standards SystemTargetFile
Warning PreserveExpressionOrder Prerequisite constraint not met. on SystemTargetFile
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related optimization settings for application lifespan

Check optimization settings in the model configuration that apply to application lifespan and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Application lifespan (days) (LifeSpan) auto inf


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related code generation identifier settings

Check code generation identifier settings in the model configuration that might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Not Recommended Values Prerequisites
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target    
Warning MangleLength Prerequisite constraint not met.   1, 2, 3 SystemTargetFile


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related optimization settings for data initialization

Check optimization settings in the model configuration that apply to data initialization and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  
Warning ZeroExternalMemoryAtStartup* Prerequisite constraint not met. on SystemTargetFile, CodeInterfacePackaging
Warning ZeroInternalMemoryAtStartup* Prerequisite constraint not met. on SystemTargetFile, CodeInterfacePackaging


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


* The Command-Line values provided in the table are reverse of the settings in the Configuration Parameters Dialog. Therefore, 'on' in the Command-Line corresponds to an "Off" setting in the dialog, and 'off' in the Command-Line corresponds to an "On" setting in the dialog.


  Check safety-related optimization settings for data type conversions

Check optimization settings in the model configuration that apply to data type conversions and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Remove code from floating-point to integer conversions that wraps out-of-range values (EfficientFloat2IntCast) off on


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related optimization settings for division arithmetic exceptions

Check optimization settings in the model configuration that apply to division arithmetic exceptions and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  
Warning NoFixptDivByZeroProtection Prerequisite constraint not met. off SystemTargetFile


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related optimization settings for specified minimum and maximum values

Check optimization settings in the model configuration that apply to specified minimum and maximum values and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
Warning UseSpecifiedMinMax Prerequisite constraint not met. off SystemTargetFile
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related settings for hardware implementation

Identify inconsistencies or underspecification of hardware attributes that can lead to incorrect and inefficient generated code.

Check 'Byte ordering' and 'Signed integer division rounds to' parameters

Passed
Target specification is consistent.
_________________________________________________________________________________________

Search for 'Test hardware is the same as production hardware' in the Configuration Parameters dialog box and check if it is selected. If it is cleared, identify whether target specifications match.

Check whether 'Production hardware' and 'Test hardware' match

Passed
'Test hardware is the same as production hardware' is selected or is cleared and the target specifications match.


  Check safety-related diagnostic settings for compatibility

Check diagnostic settings in the model configuration that affect compatibility and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning S-function upgrades needed (SFcnCompatibilityMsg) none error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for parameters

Check diagnostic settings in the model configuration that apply to parameters and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Detect underflow (ParameterUnderflowMsg) none error
Warning Detect precision loss (ParameterPrecisionLossMsg) warning error
Warning Detect loss of tunability (ParameterTunabilityLossMsg) warning error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for Merge blocks

Check diagnostic settings in the model configuration that apply to Merge blocks and might impact safety.

Passed
All constraints on model configuration parameters have been met.

Status Parameter Current Value Recommended Values
Pass Detect multiple driving blocks executing at the same time step (MergeDetectMultiDrivingBlocksExec) error error


  Check safety-related diagnostic settings for model initialization

Check diagnostic settings in the model configuration that affect model initialization and might impact safety.

Passed
All constraints on model configuration parameters have been met.

Status Parameter Current Value Recommended Values
Pass Underspecified initialization detection (UnderspecifiedInitializationDetection) Simplified Simplified


  Check safety-related diagnostic settings for data used for debugging

Check diagnostic settings in the model configuration that apply to data used for debugging and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Model Verification block enabling (AssertControl) UseLocalSettings DisableAll


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for signal connectivity

Check diagnostic settings in the model configuration that apply to signal connectivity and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Signal label mismatch (SignalLabelMismatchMsg) none error
Warning Unconnected block input ports (UnconnectedInputMsg) none error
Warning Unconnected block output ports (UnconnectedOutputMsg) none error
Warning Unconnected line (UnconnectedLineMsg) none error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for bus connectivity

Check diagnostic settings in the model configuration that apply to bus connectivity and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Unspecified bus object at root Outport block (RootOutportRequireBusObject) warning error
Warning Element name mismatch (BusObjectLabelMismatch) warning error
Warning Bus signal treated as vector (StrictBusMsg) ErrorLevel1 ErrorOnBusTreatedAsVector
Warning Non-bus signals treated as bus signals (NonBusSignalsTreatedAsBus) none error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings that apply to function-call connectivity

Check diagnostic settings in the model configuration that apply to function-call connectivity and might impact safety.

Passed
All constraints on model configuration parameters have been met.

Status Parameter Current Value Recommended Values
Pass InvalidFcnCallConnMsg error error
Pass Context-dependent inputs (FcnCallInpInsideContextMsg) error error


  Check safety-related diagnostic settings for type conversions

Check diagnostic settings in the model configuration that apply to type conversions and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Unnecessary type conversions (UnnecessaryDatatypeConvMsg) none warning
Warning Vector/matrix block input conversion (VectorMatrixConversionMsg) none error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for model referencing

Check diagnostic settings in the model configuration that apply to model referencing and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Port and parameter mismatch (ModelReferenceIOMismatchMessage) none error
Warning Unsupported data logging (ModelReferenceDataLoggingMessage) warning error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for Stateflow

Check diagnostic settings in the model configuration that apply to Stateflow and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Invalid input data access in chart initialization (SFInvalidInputDataAccessInChartInitDiag) warning error
Warning Transition outside natural parent (SFTransitionOutsideNaturalParentDiag) warning error
Warning Unreachable execution path (SFUnreachableExecutionPathDiag) warning error
Warning Undirected event broadcasts (SFUndirectedBroadcastEventsDiag) warning error
Warning Transition action specified before condition action (SFTransitionActionBeforeConditionDiag) warning error
Warning Absolute time temporal value shorter than sampling period (SFTemporalDelaySmallerThanSampleTimeDiag) warning error
Warning Self-transition on leaf state (SFSelfTransitionDiag) warning error
Warning 'Execute-at-initialization' disabled in presence of input events (SFExecutionAtInitializationDiag) warning error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for signal data

Check diagnostic settings in the model configuration that apply to signal data and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Division by singular matrix (CheckMatrixSingularityMsg) none error
Warning Underspecified data types (UnderSpecifiedDataTypeMsg) none error
Warning Wrap on overflow (IntegerOverflowMsg) warning error
Warning Saturate on overflow (IntegerSaturationMsg) warning error
Warning Inf or NaN block output (SignalInfNanChecking) none error
Warning Simulation range checking (SignalRangeChecking) none error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.



                2.23.1.5 Naming  0  0  0  0  1  0  1


  Check model file name

Identify inappropriate characters and length issues in model file name.

Passed
No issues found with model file name.


  Check model element names

Not Run



                2.23.1.6 Requirements  0  0  1  0  0  0  0


  Check for model elements that do not link to requirements

Check for model elements that do not link to a requirements document.

Warning
The following model elements do not link to a requirements document:

Recommended Action
For each model element in the list, in the Model Editor, right-click the model element, select Requirements, and specify a requirement.
Check the Traceability Matrix for viewing requirements and their links to blocks in Simulink model in a compact format.



                2.23.1.7 Code  0  0  1  0  1  0  0


  Check for blocks not recommended for MISRA C:2012

Passed


  Check configuration parameters for MISRA C:2012

Identify configuration parameters that might impact MISRA C:2012 compliant code generation.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
Warning Model Verification block enabling (AssertControl) UseLocalSettings DisableAll  
D - Warning Shared code placement (UtilityFuncGeneration) Auto Shared location  
Warning Generate shared constants (GenerateSharedConstants) Prerequisite constraint not met. off UtilityFuncGeneration
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  
Warning SupportContinuousTime Prerequisite constraint not met. off SystemTargetFile
Warning SupportNonInlinedSFcns Prerequisite constraint not met. off SystemTargetFile
Warning MAT-file logging (MatFileLogging) on off  
Warning ParenthesesLevel Prerequisite constraint not met. Standards, Maximum SystemTargetFile
Warning SuppressUnreachableDefaultCases Parameter is inactive! Enable parameter or modify dependent parameter value. off  
Warning CastingMode Prerequisite constraint not met. Standards SystemTargetFile
Warning InternalIdentifier Prerequisite constraint not met. Shortened SystemTargetFile
Warning Use division for fixed-point net slope computation (UseDivisionForNetSlopeComputation) off on, UseDivisionForReciprocalsOfIntegersOnly  
Warning EnableSignedLeftShifts Prerequisite constraint not met. off SystemTargetFile
Warning EnableSignedRightShifts Prerequisite constraint not met. off SystemTargetFile
Warning Inf or NaN block output (SignalInfNanChecking) none warning  
Warning Dynamic memory allocation in MATLAB functions (MATLABDynamicMemAlloc) on off  
Warning Undirected event broadcasts (SFUndirectedBroadcastEventsDiag) warning error  
Warning Compile-time recursion limit for MATLAB functions (CompileTimeRecursionLimit) 50 0  
Warning Enable run-time recursion for MATLAB functions (EnableRuntimeRecursion) on off  
Warning MATLABFcnDesc Prerequisite constraint not met. on GenerateComments, SystemTargetFile
Warning Leverage target hardware instruction set extensions (InstructionSetExtensions) SSE2 None  
∧ Less


Recommended Action
Modify the configuration parameters listed above to the recommended values.



            2.23.2 Simulink  0  0  0  0  1  0  0

            2.23.3 Library Links  0  0  0  0  1  0  0

            2.23.4 Requirements Consistency  0  0  0  0  4  0  0


  Identify requirement links that specify invalid locations within documents

Passed


  Identify requirement links with missing documents

Passed


  Identify requirement links with path type inconsistent with preferences

Passed


  Identify selection-based links having description fields that do not match their requirements document text

Passed



        2.24 Modeling Standards for DO-254  0  1  15  0  44  0  33


  Display model version information

Not Run



            2.24.1 High-Integrity Systems  0  0  11  0  19  0  21


                2.24.1.1 Simulink  0  0  1  0  6  0  16

                2.24.1.2 Stateflow  0  0  1  0  5  0  2


  Check usage of recursions

Not Run


  Check Stateflow debugging options

Identify whether Stateflow debugging options are set appropriately.

Warning
The following Stateflow debugging options are not set appropriately:

Parameter Current Value Recommended Values
Wrap on overflow (IntegerOverflowMsg) warning error
Simulation range checking (SignalRangeChecking) none error


Recommended Action
Change the Stateflow debugging options to the recommended value.


  Check Stateflow charts for transition paths that cross parallel state boundaries

Identify transition paths that cross parallel state boundaries in Stateflow charts.

Passed
No transition paths crossing parallel state boundaries were found in Stateflow charts.


  Check for inappropriate use of transition paths

Identify transition paths that go into and out of a state without ending on a substate.

Passed
No transition paths found that go into and out of a state without ending on a substate.


  Check naming of ports in Stateflow charts

Identify mismatches between names of Stateflow ports and associated signals.

Passed
There are no name mismatches between Stateflow ports and associated signals


  Check scoping of Stateflow data objects

Identify Stateflow data objects with local scope that are not scoped at the chart level or below.

Passed
All Stateflow data objects are properly scoped.


  Check Stateflow charts for uniquely defined data objects

Identify local data identifiers that are defined in multiple scopes within a chart.

Passed
No Stateflow data identifiers found to be defined in multiple scopes.


  Check Stateflow charts for unary operators

Not Run



                2.24.1.3 MATLAB  0  0  0  0  5  0  2


  Check usage of standardized MATLAB function headers

Identify usage of standardized function headers in MATLAB function.

Passed
No MATLAB function blocks found without standardized function headers.


  Check MATLAB Code Analyzer messages

Check MATLAB functions for %#codegen directive, MATLAB Code Analyzer messages, and justification message IDs.

Passed
No MATLAB Function blocks found with Code Analyzer messages, missing %#codegen directive or inappropriate usage of justification message IDs.


  Check if/elseif/else patterns in MATLAB Function blocks

Identify if/elseif/else patterns without appropriate else conditions in embedded MATLAB code.

Passed
No inappropriate if/elseif/else patterns found.


  Check switch statements in MATLAB Function blocks

Identify inappropriately used switch statements in embedded MATLAB code.

Passed
No inappropriately used switch statements found.


  Check usage of relational operators in MATLAB Function blocks

Not Run


  Check usage of logical operators and functions in MATLAB Function blocks

Not Run


  Check MATLAB functions not supported for code generation

Identify MATLAB functions that are not supported for code generation.

Passed
All identified MATLAB functions are supported for code generation.



                2.24.1.4 Configuration  0  0  8  0  2  0  0


  Check safety-related diagnostic settings for saving

Check diagnostic settings in the model configuration that apply to saving model files.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Block diagram contains disabled library links (SaveWithDisabledLinksMsg) warning error
Warning Block diagram contains parameterized library links (SaveWithParameterizedLinksMsg) warning error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related model referencing settings

Check model referencing settings in the model configuration that might impact safety.

Passed
All constraints on model configuration parameters have been met.

Status Parameter Current Value Recommended Values
Pass Rebuild (UpdateModelReferenceTargets) IfOutOfDateOrStructuralChange AssumeUpToDate, IfOutOfDateOrStructuralChange
Pass Minimize artificial algebraic loop occurrences (ModelReferenceMinAlgLoopOccurrences) off off


  Check safety-related diagnostic settings for parameters

Check diagnostic settings in the model configuration that apply to parameters and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Detect underflow (ParameterUnderflowMsg) none error
Warning Detect precision loss (ParameterPrecisionLossMsg) warning error
Warning Detect loss of tunability (ParameterTunabilityLossMsg) warning error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for model initialization

Check diagnostic settings in the model configuration that affect model initialization and might impact safety.

Passed
All constraints on model configuration parameters have been met.

Status Parameter Current Value Recommended Values
Pass Underspecified initialization detection (UnderspecifiedInitializationDetection) Simplified Simplified


  Check safety-related diagnostic settings for signal connectivity

Check diagnostic settings in the model configuration that apply to signal connectivity and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Signal label mismatch (SignalLabelMismatchMsg) none error
Warning Unconnected block input ports (UnconnectedInputMsg) none error
Warning Unconnected block output ports (UnconnectedOutputMsg) none error
Warning Unconnected line (UnconnectedLineMsg) none error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for bus connectivity

Check diagnostic settings in the model configuration that apply to bus connectivity and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Unspecified bus object at root Outport block (RootOutportRequireBusObject) warning error
Warning Element name mismatch (BusObjectLabelMismatch) warning error
Warning Bus signal treated as vector (StrictBusMsg) ErrorLevel1 ErrorOnBusTreatedAsVector
Warning Non-bus signals treated as bus signals (NonBusSignalsTreatedAsBus) none error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for type conversions

Check diagnostic settings in the model configuration that apply to type conversions and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Unnecessary type conversions (UnnecessaryDatatypeConvMsg) none warning
Warning Vector/matrix block input conversion (VectorMatrixConversionMsg) none error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for model referencing

Check diagnostic settings in the model configuration that apply to model referencing and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Port and parameter mismatch (ModelReferenceIOMismatchMessage) none error
Warning Unsupported data logging (ModelReferenceDataLoggingMessage) warning error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for Stateflow

Check diagnostic settings in the model configuration that apply to Stateflow and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Invalid input data access in chart initialization (SFInvalidInputDataAccessInChartInitDiag) warning error
Warning Transition outside natural parent (SFTransitionOutsideNaturalParentDiag) warning error
Warning Unreachable execution path (SFUnreachableExecutionPathDiag) warning error
Warning Undirected event broadcasts (SFUndirectedBroadcastEventsDiag) warning error
Warning Transition action specified before condition action (SFTransitionActionBeforeConditionDiag) warning error
Warning Absolute time temporal value shorter than sampling period (SFTemporalDelaySmallerThanSampleTimeDiag) warning error
Warning Self-transition on leaf state (SFSelfTransitionDiag) warning error
Warning 'Execute-at-initialization' disabled in presence of input events (SFExecutionAtInitializationDiag) warning error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for signal data

Check diagnostic settings in the model configuration that apply to signal data and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Division by singular matrix (CheckMatrixSingularityMsg) none error
Warning Underspecified data types (UnderSpecifiedDataTypeMsg) none error
Warning Wrap on overflow (IntegerOverflowMsg) warning error
Warning Saturate on overflow (IntegerSaturationMsg) warning error
Warning Inf or NaN block output (SignalInfNanChecking) none error
Warning Simulation range checking (SignalRangeChecking) none error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.



                2.24.1.5 Naming  0  0  0  0  1  0  1


  Check model file name

Identify inappropriate characters and length issues in model file name.

Passed
No issues found with model file name.


  Check model element names

Not Run



                2.24.1.6 Requirements  0  0  1  0  0  0  0


  Check for model elements that do not link to requirements

Check for model elements that do not link to a requirements document.

Warning
The following model elements do not link to a requirements document:

Recommended Action
For each model element in the list, in the Model Editor, right-click the model element, select Requirements, and specify a requirement.
Check the Traceability Matrix for viewing requirements and their links to blocks in Simulink model in a compact format.



            2.24.2 Library Links  0  0  0  0  1  0  0

            2.24.3 Requirements Consistency  0  0  0  0  4  0  0


  Identify requirement links that specify invalid locations within documents

Passed


  Identify requirement links with missing documents

Passed


  Identify requirement links with path type inconsistent with preferences

Passed


  Identify selection-based links having description fields that do not match their requirements document text

Passed



            2.24.4 HDL Coder  0  1  4  0  20  0  11


                2.24.4.1 Checks for blocks and block settings  0  1  0  0  7  0  2


  Check for HDL Reciprocal block usage

Not Run


  Check for infinite and continuous sample time sources

Passed : Check for infinite and continuous sample time sources


  Check for MATLAB Function block settings

Passed : Check for MATLAB Function block settings


  Check for Stateflow chart settings

Passed : Check for Stateflow chart settings


  Check for Trigonometric Function block for LUT-based approximation method

Passed : Check for Trigonometric Function block for LUT-based approximation method


  Check for obsolete Unit Delay Enabled/Resettable blocks

Passed : Check for obsolete Unit Delay Enabled/Resettable blocks


  Check for unsupported storage class for signal objects

Passed : Check for unsupported storage class for signal objects


  Check for large matrix operations

Not Run


  Identify unconnected lines, input ports, and output ports

Identify unconnected lines, input ports, and output ports in the model

Passed
There are no unconnected lines, input ports, and output ports in this model.



                2.24.4.2 Industry standard checks  0  0  2  0  9  0  0


  Check file extension

Passed : Check file extension


  Check naming conventions

Passed : Check naming conventions


  Check top-level subsystem/port names

Passed : Check top-level subsystem/port names


  Check module/entity names

Passed : Check module/entity names


  Check package file names

Warn : Check package file names

Warning : The postfix for the package file is '_pkg'. Industry standards recommend '_pac' as the postfix name.


  Check signal and port names

Passed : Check signal and port names


  Check generics

Passed : Check generics


  Check clock, reset, and enable signals

Warn : Check clock, reset, and enable signals

Warning : Recommended naming conventions are not followed by the reset signal 'reset'.


  Check architecture name

Passed : Check architecture name


  Check entity and architecture

Passed : Check entity and architecture


  Check clock settings

Passed : Check clock settings



                2.24.4.3 Model configuration checks  0  0  2  0  3  0  1


  Check for model parameters suited for HDL code generation

Warn : Check for model parameters suited for HDL code generation

Warning : Following recommended model settings are not compliant

  • The parameter SingleTaskRateTransMsg is set to none, but it should be set to error.
  • The parameter Solver is set to VariableStepAuto, but it should be set to FixedStepDiscrete.
  • The parameter AlgebraicLoopMsg is set to warning, but it should be set to error.
  • The parameter ShowLineDimensions is set to off, but it should be set to on.
  • The parameter ShowPortDataTypes is set to off, but it should be set to on.
  • The parameter BlockReduction is set to on, but it should be set to off.
  • The parameter ConditionallyExecuteInputs is set to on, but it should be set to off.
  • The parameter DefaultParameterBehavior is set to Tunable, but it should be set to Inlined.
  • The parameter ProdHWDeviceType is set to Intel->x86-64 (Windows64), but it should be set to ASIC/FPGA->ASIC/FPGA.
  • The parameter DataTypeOverride is set to UseLocalSettings, but it should be set to Off.
  • The parameter InheritOutputTypeSmallerThanSingle is set to off, but it should be set to on.
  • The parameter UnconnectedInputMsg is set to none, but it should be set to error, warning.
  • The parameter UnconnectedOutputMsg is set to none, but it should be set to error, warning.
  • The parameter UnconnectedLineMsg is set to none, but it should be set to error, warning.
∧ Less


  Check for global reset setting for Xilinx and Altera devices

Passed : Check for global reset setting for Xilinx and Altera devices


  Check inline configurations setting

Passed : Check inline configurations setting


  Check for visualization settings

Warn : Check for visualization settings

Message : Following recommended model settings are not compliant

  • Data type display on signals and ports is disabled.
  • Sample time display is disabled. There will not be any color codes representing sample times.


  Check delay balancing setting

Passed : Check delay balancing setting


  Check algebraic loops

Not Run



                2.24.4.4 Native Floating Point checks  0  0  0  0  0  0  8


  Check for blocks that have nonzero output latency

Not Run


  Check blocks with nonzero ulp error

Not Run


  Check for single datatypes in the model

Not Run


  Check for double datatypes in the model

Not Run


  Check for Data Type Conversion blocks with incompatible settings

Not Run


  Check for HDL Reciprocal block usage

Not Run


  Check for Relational Operator block usage

Not Run


  Check for unsupported blocks with Native Floating Point

Not Run



                2.24.4.5 Checks for ports and subsystems  0  0  0  0  1  0  0


  Check for invalid top level subsystem

Passed : Check for invalid top level subsystem



        2.25 Modeling Standards for IEC 61508  0  0  27  0  36  0  36


  Display configuration management data

Not Run


  Display model metrics and complexity report

Display number of elements and name, level, and depth of subsystems for the model or subsystem

Model metrics information
Display number of elements for Simulink blocks and Stateflow constructs


Summary

Element Type Count
SubSystem 1


Simulink

Block Type Count
SimscapeMultibodyBlock 13
SubSystem 1

Model complexity information
Display name, level, and depth of subsystems


Maximum Subsystem Depth: 2

Subsystem Depth

Subsystem Name Level Depth
untitled/Solver Configuration 1 1



  Check for unconnected objects

Identify unconnected lines, input ports, and output ports in the model

Passed
There are no unconnected lines, input ports, and output ports in this model.



            2.25.1 High-Integrity Systems  0  0  27  0  34  0  35


                2.25.1.1 Simulink  0  0  1  0  11  0  26

                2.25.1.2 Stateflow  0  0  1  0  6  0  4


  Check state machine type of Stateflow charts

Identify Stateflow Charts whose State Machine Type differs from the type set in the Model Advisor Configuration Editor.

Passed
No Stateflow Charts found that deviate from recommended state machine type.


  Check usage of recursions

Not Run


  Check Stateflow debugging options

Identify whether Stateflow debugging options are set appropriately.

Warning
The following Stateflow debugging options are not set appropriately:

Parameter Current Value Recommended Values
Wrap on overflow (IntegerOverflowMsg) warning error
Simulation range checking (SignalRangeChecking) none error


Recommended Action
Change the Stateflow debugging options to the recommended value.


  Check Stateflow charts for transition paths that cross parallel state boundaries

Identify transition paths that cross parallel state boundaries in Stateflow charts.

Passed
No transition paths crossing parallel state boundaries were found in Stateflow charts.


  Check for inappropriate use of transition paths

Identify transition paths that go into and out of a state without ending on a substate.

Passed
No transition paths found that go into and out of a state without ending on a substate.


  Check Stateflow charts for strong data typing

Not Run


  Check naming of ports in Stateflow charts

Identify mismatches between names of Stateflow ports and associated signals.

Passed
There are no name mismatches between Stateflow ports and associated signals


  Check scoping of Stateflow data objects

Identify Stateflow data objects with local scope that are not scoped at the chart level or below.

Passed
All Stateflow data objects are properly scoped.


  Check Stateflow charts for uniquely defined data objects

Identify local data identifiers that are defined in multiple scopes within a chart.

Passed
No Stateflow data identifiers found to be defined in multiple scopes.


  Check assignment operations in Stateflow charts

Not Run


  Check Stateflow charts for unary operators

Not Run



                2.25.1.3 MATLAB  0  0  0  0  7  0  4


  Check usage of standardized MATLAB function headers

Identify usage of standardized function headers in MATLAB function.

Passed
No MATLAB function blocks found without standardized function headers.


  Check for MATLAB Function interfaces with inherited properties

Identify MATLAB Functions that have inputs, outputs, or parameters with inherited complexity or data type properties.

Passed
No MATLAB Function interfaces with inherited complexity or data type properties found.


  Check MATLAB Function metrics

Identify MATLAB Functions that violate code and complexity metrics.

Passed
No MATLAB Function blocks found that violate code and complexity metrics.


  Check MATLAB Code Analyzer messages

Check MATLAB functions for %#codegen directive, MATLAB Code Analyzer messages, and justification message IDs.

Passed
No MATLAB Function blocks found with Code Analyzer messages, missing %#codegen directive or inappropriate usage of justification message IDs.


  Check if/elseif/else patterns in MATLAB Function blocks

Identify if/elseif/else patterns without appropriate else conditions in embedded MATLAB code.

Passed
No inappropriate if/elseif/else patterns found.


  Check switch statements in MATLAB Function blocks

Identify inappropriately used switch statements in embedded MATLAB code.

Passed
No inappropriately used switch statements found.


  Check usage of relational operators in MATLAB Function blocks

Not Run


  Check usage of logical operators and functions in MATLAB Function blocks

Not Run


  Check type and size of condition expressions

Not Run


  Check MATLAB functions not supported for code generation

Identify MATLAB functions that are not supported for code generation.

Passed
All identified MATLAB functions are supported for code generation.


  Metrics for generated code complexity

Not Run



                2.25.1.4 Configuration  0  0  23  0  8  0  0


  Check safety-related diagnostic settings for data store memory

Check diagnostic settings in the model configuration that apply to data store memory and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Detect read before write (ReadBeforeWriteMsg) UseLocalSettings EnableAllAsError
Warning Detect write after read (WriteAfterReadMsg) UseLocalSettings EnableAllAsError
Warning Detect write after write (WriteAfterWriteMsg) UseLocalSettings EnableAllAsError
Warning Duplicate data store names (UniqueDataStoreMsg) none error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for saving

Check diagnostic settings in the model configuration that apply to saving model files.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Block diagram contains disabled library links (SaveWithDisabledLinksMsg) warning error
Warning Block diagram contains parameterized library links (SaveWithParameterizedLinksMsg) warning error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related model referencing settings

Check model referencing settings in the model configuration that might impact safety.

Passed
All constraints on model configuration parameters have been met.

Status Parameter Current Value Recommended Values
Pass Rebuild (UpdateModelReferenceTargets) IfOutOfDateOrStructuralChange AssumeUpToDate, IfOutOfDateOrStructuralChange
Pass Minimize artificial algebraic loop occurrences (ModelReferenceMinAlgLoopOccurrences) off off


  Check safety-related code generation settings for comments

Check code generation settings in the model configuration that apply comments and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
Warning Show eliminated blocks (ShowEliminatedStatement) off on GenerateComments
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  
Warning Verbose comments for 'Model default' storage class (ForceParamTrailComments) off on GenerateComments
Warning ReqsInCode Prerequisite constraint not met. on SystemTargetFile, GenerateComments
Warning Stateflow object comments (StateflowObjectComments) off on GenerateComments
Warning MATLAB source code as comments (MATLABSourceComments) off on GenerateComments


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related code generation interface settings

Check code generation interface settings in the model configuration that might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
Warning Support non-finite numbers (SupportNonFinite) on off  
Warning SupportContinuousTime Prerequisite constraint not met. off SystemTargetFile
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  
Warning SupportNonInlinedSFcns Prerequisite constraint not met. off SystemTargetFile
Warning IncludeMdlTerminateFcn Prerequisite constraint not met. off SystemTargetFile
Warning SuppressErrorStatus Prerequisite constraint not met. on SystemTargetFile
Warning MAT-file logging (MatFileLogging) on off  


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related solver settings for simulation time

Identify if the model Start time is set to 0 and Stop time is less than the Application Life Span.

Passed
No issues found with solver settings for simulation time.


  Check safety-related solver settings for solver options

Check solver settings in the model configuration that apply to solvers and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Type (SolverType) Variable-step Fixed-step
Warning Solver (SolverName) VariableStepAuto FixedStepDiscrete


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related solver settings for tasking and sample-time

Check solver settings in the model configuration that apply to tasking and sample-time constraints and might impact safety.

Passed


  Check safety-related diagnostic settings for solvers

Check diagnostic settings in the model configuration that apply to solvers and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Algebraic loop (AlgebraicLoopMsg) warning error
Warning Minimize artificial algebraic loop occurrences (ArtificialAlgebraicLoopMsg) warning error
Warning Block priority violation (BlockPriorityViolationMsg) warning error
Warning Automatic solver parameter selection (SolverPrmCheckMsg) none error
Warning State name clash (StateNameClashWarn) none warning


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for sample time

Check diagnostic settings in the model configuration that apply to sample time and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Source block specifies -1 sample time (InheritedTsInSrcMsg) warning error
Warning Enforce sample times specified by Signal Specification blocks (SigSpecEnsureSampleTimeMsg) warning error
Warning Tasks with equal priority (TasksWithSamePriorityMsg) warning error
Warning Unspecified inheritability of sample time (UnknownTsInhSupMsg) warning error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related optimization settings for logic signals

Check optimization settings in the model configuration that apply to logic signals and might impact safety.

Passed
All constraints on model configuration parameters have been met.

Status Parameter Current Value Recommended Values
Pass Implement logic signals as Boolean data (vs. double) (BooleanDataType) on on


  Check safety-related code generation settings for code style

Check code generation settings in the model configuration that apply to code style and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
Warning ParenthesesLevel Prerequisite constraint not met. Maximum, Standards SystemTargetFile
Warning PreserveExpressionOrder Prerequisite constraint not met. on SystemTargetFile
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related optimization settings for application lifespan

Check optimization settings in the model configuration that apply to application lifespan and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Application lifespan (days) (LifeSpan) auto inf


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related code generation identifier settings

Check code generation identifier settings in the model configuration that might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Not Recommended Values Prerequisites
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target    
Warning MangleLength Prerequisite constraint not met.   1, 2, 3 SystemTargetFile


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related optimization settings for data initialization

Check optimization settings in the model configuration that apply to data initialization and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  
Warning ZeroExternalMemoryAtStartup* Prerequisite constraint not met. on SystemTargetFile, CodeInterfacePackaging
Warning ZeroInternalMemoryAtStartup* Prerequisite constraint not met. on SystemTargetFile, CodeInterfacePackaging


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


* The Command-Line values provided in the table are reverse of the settings in the Configuration Parameters Dialog. Therefore, 'on' in the Command-Line corresponds to an "Off" setting in the dialog, and 'off' in the Command-Line corresponds to an "On" setting in the dialog.


  Check safety-related optimization settings for data type conversions

Check optimization settings in the model configuration that apply to data type conversions and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Remove code from floating-point to integer conversions that wraps out-of-range values (EfficientFloat2IntCast) off on


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related optimization settings for division arithmetic exceptions

Check optimization settings in the model configuration that apply to division arithmetic exceptions and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  
Warning NoFixptDivByZeroProtection Prerequisite constraint not met. off SystemTargetFile


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related optimization settings for specified minimum and maximum values

Check optimization settings in the model configuration that apply to specified minimum and maximum values and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
Warning UseSpecifiedMinMax Prerequisite constraint not met. off SystemTargetFile
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related settings for hardware implementation

Identify inconsistencies or underspecification of hardware attributes that can lead to incorrect and inefficient generated code.

Check 'Byte ordering' and 'Signed integer division rounds to' parameters

Passed
Target specification is consistent.
_________________________________________________________________________________________

Search for 'Test hardware is the same as production hardware' in the Configuration Parameters dialog box and check if it is selected. If it is cleared, identify whether target specifications match.

Check whether 'Production hardware' and 'Test hardware' match

Passed
'Test hardware is the same as production hardware' is selected or is cleared and the target specifications match.


  Check safety-related diagnostic settings for compatibility

Check diagnostic settings in the model configuration that affect compatibility and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning S-function upgrades needed (SFcnCompatibilityMsg) none error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for parameters

Check diagnostic settings in the model configuration that apply to parameters and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Detect underflow (ParameterUnderflowMsg) none error
Warning Detect precision loss (ParameterPrecisionLossMsg) warning error
Warning Detect loss of tunability (ParameterTunabilityLossMsg) warning error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for Merge blocks

Check diagnostic settings in the model configuration that apply to Merge blocks and might impact safety.

Passed
All constraints on model configuration parameters have been met.

Status Parameter Current Value Recommended Values
Pass Detect multiple driving blocks executing at the same time step (MergeDetectMultiDrivingBlocksExec) error error


  Check safety-related diagnostic settings for model initialization

Check diagnostic settings in the model configuration that affect model initialization and might impact safety.

Passed
All constraints on model configuration parameters have been met.

Status Parameter Current Value Recommended Values
Pass Underspecified initialization detection (UnderspecifiedInitializationDetection) Simplified Simplified


  Check safety-related diagnostic settings for data used for debugging

Check diagnostic settings in the model configuration that apply to data used for debugging and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Model Verification block enabling (AssertControl) UseLocalSettings DisableAll


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for signal connectivity

Check diagnostic settings in the model configuration that apply to signal connectivity and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Signal label mismatch (SignalLabelMismatchMsg) none error
Warning Unconnected block input ports (UnconnectedInputMsg) none error
Warning Unconnected block output ports (UnconnectedOutputMsg) none error
Warning Unconnected line (UnconnectedLineMsg) none error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for bus connectivity

Check diagnostic settings in the model configuration that apply to bus connectivity and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Unspecified bus object at root Outport block (RootOutportRequireBusObject) warning error
Warning Element name mismatch (BusObjectLabelMismatch) warning error
Warning Bus signal treated as vector (StrictBusMsg) ErrorLevel1 ErrorOnBusTreatedAsVector
Warning Non-bus signals treated as bus signals (NonBusSignalsTreatedAsBus) none error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings that apply to function-call connectivity

Check diagnostic settings in the model configuration that apply to function-call connectivity and might impact safety.

Passed
All constraints on model configuration parameters have been met.

Status Parameter Current Value Recommended Values
Pass InvalidFcnCallConnMsg error error
Pass Context-dependent inputs (FcnCallInpInsideContextMsg) error error


  Check safety-related diagnostic settings for type conversions

Check diagnostic settings in the model configuration that apply to type conversions and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Unnecessary type conversions (UnnecessaryDatatypeConvMsg) none warning
Warning Vector/matrix block input conversion (VectorMatrixConversionMsg) none error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for model referencing

Check diagnostic settings in the model configuration that apply to model referencing and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Port and parameter mismatch (ModelReferenceIOMismatchMessage) none error
Warning Unsupported data logging (ModelReferenceDataLoggingMessage) warning error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for Stateflow

Check diagnostic settings in the model configuration that apply to Stateflow and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Invalid input data access in chart initialization (SFInvalidInputDataAccessInChartInitDiag) warning error
Warning Transition outside natural parent (SFTransitionOutsideNaturalParentDiag) warning error
Warning Unreachable execution path (SFUnreachableExecutionPathDiag) warning error
Warning Undirected event broadcasts (SFUndirectedBroadcastEventsDiag) warning error
Warning Transition action specified before condition action (SFTransitionActionBeforeConditionDiag) warning error
Warning Absolute time temporal value shorter than sampling period (SFTemporalDelaySmallerThanSampleTimeDiag) warning error
Warning Self-transition on leaf state (SFSelfTransitionDiag) warning error
Warning 'Execute-at-initialization' disabled in presence of input events (SFExecutionAtInitializationDiag) warning error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for signal data

Check diagnostic settings in the model configuration that apply to signal data and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Division by singular matrix (CheckMatrixSingularityMsg) none error
Warning Underspecified data types (UnderSpecifiedDataTypeMsg) none error
Warning Wrap on overflow (IntegerOverflowMsg) warning error
Warning Saturate on overflow (IntegerSaturationMsg) warning error
Warning Inf or NaN block output (SignalInfNanChecking) none error
Warning Simulation range checking (SignalRangeChecking) none error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.



                2.25.1.5 Naming  0  0  0  0  1  0  1


  Check model file name

Identify inappropriate characters and length issues in model file name.

Passed
No issues found with model file name.


  Check model element names

Not Run



                2.25.1.6 Requirements  0  0  1  0  0  0  0


  Check for model elements that do not link to requirements

Check for model elements that do not link to a requirements document.

Warning
The following model elements do not link to a requirements document:

Recommended Action
For each model element in the list, in the Model Editor, right-click the model element, select Requirements, and specify a requirement.
Check the Traceability Matrix for viewing requirements and their links to blocks in Simulink model in a compact format.



                2.25.1.7 Code  0  0  1  0  1  0  0


  Check for blocks not recommended for MISRA C:2012

Passed


  Check configuration parameters for MISRA C:2012

Identify configuration parameters that might impact MISRA C:2012 compliant code generation.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
Warning Model Verification block enabling (AssertControl) UseLocalSettings DisableAll  
D - Warning Shared code placement (UtilityFuncGeneration) Auto Shared location  
Warning Generate shared constants (GenerateSharedConstants) Prerequisite constraint not met. off UtilityFuncGeneration
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  
Warning SupportContinuousTime Prerequisite constraint not met. off SystemTargetFile
Warning SupportNonInlinedSFcns Prerequisite constraint not met. off SystemTargetFile
Warning MAT-file logging (MatFileLogging) on off  
Warning ParenthesesLevel Prerequisite constraint not met. Standards, Maximum SystemTargetFile
Warning SuppressUnreachableDefaultCases Parameter is inactive! Enable parameter or modify dependent parameter value. off  
Warning CastingMode Prerequisite constraint not met. Standards SystemTargetFile
Warning InternalIdentifier Prerequisite constraint not met. Shortened SystemTargetFile
Warning Use division for fixed-point net slope computation (UseDivisionForNetSlopeComputation) off on, UseDivisionForReciprocalsOfIntegersOnly  
Warning EnableSignedLeftShifts Prerequisite constraint not met. off SystemTargetFile
Warning EnableSignedRightShifts Prerequisite constraint not met. off SystemTargetFile
Warning Inf or NaN block output (SignalInfNanChecking) none warning  
Warning Dynamic memory allocation in MATLAB functions (MATLABDynamicMemAlloc) on off  
Warning Undirected event broadcasts (SFUndirectedBroadcastEventsDiag) warning error  
Warning Compile-time recursion limit for MATLAB functions (CompileTimeRecursionLimit) 50 0  
Warning Enable run-time recursion for MATLAB functions (EnableRuntimeRecursion) on off  
Warning MATLABFcnDesc Prerequisite constraint not met. on GenerateComments, SystemTargetFile
Warning Leverage target hardware instruction set extensions (InstructionSetExtensions) SSE2 None  
∧ Less


Recommended Action
Modify the configuration parameters listed above to the recommended values.



        2.26 Modeling Standards for IEC 62304  0  0  27  0  36  0  36


  Display configuration management data

Not Run


  Display model metrics and complexity report

Display number of elements and name, level, and depth of subsystems for the model or subsystem

Model metrics information
Display number of elements for Simulink blocks and Stateflow constructs


Summary

Element Type Count
SubSystem 1


Simulink

Block Type Count
SimscapeMultibodyBlock 13
SubSystem 1

Model complexity information
Display name, level, and depth of subsystems


Maximum Subsystem Depth: 2

Subsystem Depth

Subsystem Name Level Depth
untitled/Solver Configuration 1 1



  Check for unconnected objects

Identify unconnected lines, input ports, and output ports in the model

Passed
There are no unconnected lines, input ports, and output ports in this model.



            2.26.1 High-Integrity Systems  0  0  27  0  34  0  35


                2.26.1.1 Simulink  0  0  1  0  11  0  26

                2.26.1.2 Stateflow  0  0  1  0  6  0  4


  Check state machine type of Stateflow charts

Identify Stateflow Charts whose State Machine Type differs from the type set in the Model Advisor Configuration Editor.

Passed
No Stateflow Charts found that deviate from recommended state machine type.


  Check usage of recursions

Not Run


  Check Stateflow debugging options

Identify whether Stateflow debugging options are set appropriately.

Warning
The following Stateflow debugging options are not set appropriately:

Parameter Current Value Recommended Values
Wrap on overflow (IntegerOverflowMsg) warning error
Simulation range checking (SignalRangeChecking) none error


Recommended Action
Change the Stateflow debugging options to the recommended value.


  Check Stateflow charts for transition paths that cross parallel state boundaries

Identify transition paths that cross parallel state boundaries in Stateflow charts.

Passed
No transition paths crossing parallel state boundaries were found in Stateflow charts.


  Check for inappropriate use of transition paths

Identify transition paths that go into and out of a state without ending on a substate.

Passed
No transition paths found that go into and out of a state without ending on a substate.


  Check Stateflow charts for strong data typing

Not Run


  Check naming of ports in Stateflow charts

Identify mismatches between names of Stateflow ports and associated signals.

Passed
There are no name mismatches between Stateflow ports and associated signals


  Check scoping of Stateflow data objects

Identify Stateflow data objects with local scope that are not scoped at the chart level or below.

Passed
All Stateflow data objects are properly scoped.


  Check Stateflow charts for uniquely defined data objects

Identify local data identifiers that are defined in multiple scopes within a chart.

Passed
No Stateflow data identifiers found to be defined in multiple scopes.


  Check assignment operations in Stateflow charts

Not Run


  Check Stateflow charts for unary operators

Not Run



                2.26.1.3 MATLAB  0  0  0  0  7  0  4


  Check usage of standardized MATLAB function headers

Identify usage of standardized function headers in MATLAB function.

Passed
No MATLAB function blocks found without standardized function headers.


  Check for MATLAB Function interfaces with inherited properties

Identify MATLAB Functions that have inputs, outputs, or parameters with inherited complexity or data type properties.

Passed
No MATLAB Function interfaces with inherited complexity or data type properties found.


  Check MATLAB Function metrics

Identify MATLAB Functions that violate code and complexity metrics.

Passed
No MATLAB Function blocks found that violate code and complexity metrics.


  Check MATLAB Code Analyzer messages

Check MATLAB functions for %#codegen directive, MATLAB Code Analyzer messages, and justification message IDs.

Passed
No MATLAB Function blocks found with Code Analyzer messages, missing %#codegen directive or inappropriate usage of justification message IDs.


  Check if/elseif/else patterns in MATLAB Function blocks

Identify if/elseif/else patterns without appropriate else conditions in embedded MATLAB code.

Passed
No inappropriate if/elseif/else patterns found.


  Check switch statements in MATLAB Function blocks

Identify inappropriately used switch statements in embedded MATLAB code.

Passed
No inappropriately used switch statements found.


  Check usage of relational operators in MATLAB Function blocks

Not Run


  Check usage of logical operators and functions in MATLAB Function blocks

Not Run


  Check type and size of condition expressions

Not Run


  Check MATLAB functions not supported for code generation

Identify MATLAB functions that are not supported for code generation.

Passed
All identified MATLAB functions are supported for code generation.


  Metrics for generated code complexity

Not Run



                2.26.1.4 Configuration  0  0  23  0  8  0  0


  Check safety-related diagnostic settings for data store memory

Check diagnostic settings in the model configuration that apply to data store memory and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Detect read before write (ReadBeforeWriteMsg) UseLocalSettings EnableAllAsError
Warning Detect write after read (WriteAfterReadMsg) UseLocalSettings EnableAllAsError
Warning Detect write after write (WriteAfterWriteMsg) UseLocalSettings EnableAllAsError
Warning Duplicate data store names (UniqueDataStoreMsg) none error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for saving

Check diagnostic settings in the model configuration that apply to saving model files.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Block diagram contains disabled library links (SaveWithDisabledLinksMsg) warning error
Warning Block diagram contains parameterized library links (SaveWithParameterizedLinksMsg) warning error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related model referencing settings

Check model referencing settings in the model configuration that might impact safety.

Passed
All constraints on model configuration parameters have been met.

Status Parameter Current Value Recommended Values
Pass Rebuild (UpdateModelReferenceTargets) IfOutOfDateOrStructuralChange AssumeUpToDate, IfOutOfDateOrStructuralChange
Pass Minimize artificial algebraic loop occurrences (ModelReferenceMinAlgLoopOccurrences) off off


  Check safety-related code generation settings for comments

Check code generation settings in the model configuration that apply comments and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
Warning Show eliminated blocks (ShowEliminatedStatement) off on GenerateComments
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  
Warning Verbose comments for 'Model default' storage class (ForceParamTrailComments) off on GenerateComments
Warning ReqsInCode Prerequisite constraint not met. on SystemTargetFile, GenerateComments
Warning Stateflow object comments (StateflowObjectComments) off on GenerateComments
Warning MATLAB source code as comments (MATLABSourceComments) off on GenerateComments


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related code generation interface settings

Check code generation interface settings in the model configuration that might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
Warning Support non-finite numbers (SupportNonFinite) on off  
Warning SupportContinuousTime Prerequisite constraint not met. off SystemTargetFile
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  
Warning SupportNonInlinedSFcns Prerequisite constraint not met. off SystemTargetFile
Warning IncludeMdlTerminateFcn Prerequisite constraint not met. off SystemTargetFile
Warning SuppressErrorStatus Prerequisite constraint not met. on SystemTargetFile
Warning MAT-file logging (MatFileLogging) on off  


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related solver settings for simulation time

Identify if the model Start time is set to 0 and Stop time is less than the Application Life Span.

Passed
No issues found with solver settings for simulation time.


  Check safety-related solver settings for solver options

Check solver settings in the model configuration that apply to solvers and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Type (SolverType) Variable-step Fixed-step
Warning Solver (SolverName) VariableStepAuto FixedStepDiscrete


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related solver settings for tasking and sample-time

Check solver settings in the model configuration that apply to tasking and sample-time constraints and might impact safety.

Passed


  Check safety-related diagnostic settings for solvers

Check diagnostic settings in the model configuration that apply to solvers and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Algebraic loop (AlgebraicLoopMsg) warning error
Warning Minimize artificial algebraic loop occurrences (ArtificialAlgebraicLoopMsg) warning error
Warning Block priority violation (BlockPriorityViolationMsg) warning error
Warning Automatic solver parameter selection (SolverPrmCheckMsg) none error
Warning State name clash (StateNameClashWarn) none warning


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for sample time

Check diagnostic settings in the model configuration that apply to sample time and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Source block specifies -1 sample time (InheritedTsInSrcMsg) warning error
Warning Enforce sample times specified by Signal Specification blocks (SigSpecEnsureSampleTimeMsg) warning error
Warning Tasks with equal priority (TasksWithSamePriorityMsg) warning error
Warning Unspecified inheritability of sample time (UnknownTsInhSupMsg) warning error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related optimization settings for logic signals

Check optimization settings in the model configuration that apply to logic signals and might impact safety.

Passed
All constraints on model configuration parameters have been met.

Status Parameter Current Value Recommended Values
Pass Implement logic signals as Boolean data (vs. double) (BooleanDataType) on on


  Check safety-related code generation settings for code style

Check code generation settings in the model configuration that apply to code style and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
Warning ParenthesesLevel Prerequisite constraint not met. Maximum, Standards SystemTargetFile
Warning PreserveExpressionOrder Prerequisite constraint not met. on SystemTargetFile
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related optimization settings for application lifespan

Check optimization settings in the model configuration that apply to application lifespan and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Application lifespan (days) (LifeSpan) auto inf


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related code generation identifier settings

Check code generation identifier settings in the model configuration that might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Not Recommended Values Prerequisites
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target    
Warning MangleLength Prerequisite constraint not met.   1, 2, 3 SystemTargetFile


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related optimization settings for data initialization

Check optimization settings in the model configuration that apply to data initialization and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  
Warning ZeroExternalMemoryAtStartup* Prerequisite constraint not met. on SystemTargetFile, CodeInterfacePackaging
Warning ZeroInternalMemoryAtStartup* Prerequisite constraint not met. on SystemTargetFile, CodeInterfacePackaging


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


* The Command-Line values provided in the table are reverse of the settings in the Configuration Parameters Dialog. Therefore, 'on' in the Command-Line corresponds to an "Off" setting in the dialog, and 'off' in the Command-Line corresponds to an "On" setting in the dialog.


  Check safety-related optimization settings for data type conversions

Check optimization settings in the model configuration that apply to data type conversions and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Remove code from floating-point to integer conversions that wraps out-of-range values (EfficientFloat2IntCast) off on


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related optimization settings for division arithmetic exceptions

Check optimization settings in the model configuration that apply to division arithmetic exceptions and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  
Warning NoFixptDivByZeroProtection Prerequisite constraint not met. off SystemTargetFile


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related optimization settings for specified minimum and maximum values

Check optimization settings in the model configuration that apply to specified minimum and maximum values and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
Warning UseSpecifiedMinMax Prerequisite constraint not met. off SystemTargetFile
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related settings for hardware implementation

Identify inconsistencies or underspecification of hardware attributes that can lead to incorrect and inefficient generated code.

Check 'Byte ordering' and 'Signed integer division rounds to' parameters

Passed
Target specification is consistent.
_________________________________________________________________________________________

Search for 'Test hardware is the same as production hardware' in the Configuration Parameters dialog box and check if it is selected. If it is cleared, identify whether target specifications match.

Check whether 'Production hardware' and 'Test hardware' match

Passed
'Test hardware is the same as production hardware' is selected or is cleared and the target specifications match.


  Check safety-related diagnostic settings for compatibility

Check diagnostic settings in the model configuration that affect compatibility and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning S-function upgrades needed (SFcnCompatibilityMsg) none error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for parameters

Check diagnostic settings in the model configuration that apply to parameters and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Detect underflow (ParameterUnderflowMsg) none error
Warning Detect precision loss (ParameterPrecisionLossMsg) warning error
Warning Detect loss of tunability (ParameterTunabilityLossMsg) warning error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for Merge blocks

Check diagnostic settings in the model configuration that apply to Merge blocks and might impact safety.

Passed
All constraints on model configuration parameters have been met.

Status Parameter Current Value Recommended Values
Pass Detect multiple driving blocks executing at the same time step (MergeDetectMultiDrivingBlocksExec) error error


  Check safety-related diagnostic settings for model initialization

Check diagnostic settings in the model configuration that affect model initialization and might impact safety.

Passed
All constraints on model configuration parameters have been met.

Status Parameter Current Value Recommended Values
Pass Underspecified initialization detection (UnderspecifiedInitializationDetection) Simplified Simplified


  Check safety-related diagnostic settings for data used for debugging

Check diagnostic settings in the model configuration that apply to data used for debugging and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Model Verification block enabling (AssertControl) UseLocalSettings DisableAll


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for signal connectivity

Check diagnostic settings in the model configuration that apply to signal connectivity and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Signal label mismatch (SignalLabelMismatchMsg) none error
Warning Unconnected block input ports (UnconnectedInputMsg) none error
Warning Unconnected block output ports (UnconnectedOutputMsg) none error
Warning Unconnected line (UnconnectedLineMsg) none error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for bus connectivity

Check diagnostic settings in the model configuration that apply to bus connectivity and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Unspecified bus object at root Outport block (RootOutportRequireBusObject) warning error
Warning Element name mismatch (BusObjectLabelMismatch) warning error
Warning Bus signal treated as vector (StrictBusMsg) ErrorLevel1 ErrorOnBusTreatedAsVector
Warning Non-bus signals treated as bus signals (NonBusSignalsTreatedAsBus) none error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings that apply to function-call connectivity

Check diagnostic settings in the model configuration that apply to function-call connectivity and might impact safety.

Passed
All constraints on model configuration parameters have been met.

Status Parameter Current Value Recommended Values
Pass InvalidFcnCallConnMsg error error
Pass Context-dependent inputs (FcnCallInpInsideContextMsg) error error


  Check safety-related diagnostic settings for type conversions

Check diagnostic settings in the model configuration that apply to type conversions and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Unnecessary type conversions (UnnecessaryDatatypeConvMsg) none warning
Warning Vector/matrix block input conversion (VectorMatrixConversionMsg) none error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for model referencing

Check diagnostic settings in the model configuration that apply to model referencing and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Port and parameter mismatch (ModelReferenceIOMismatchMessage) none error
Warning Unsupported data logging (ModelReferenceDataLoggingMessage) warning error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for Stateflow

Check diagnostic settings in the model configuration that apply to Stateflow and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Invalid input data access in chart initialization (SFInvalidInputDataAccessInChartInitDiag) warning error
Warning Transition outside natural parent (SFTransitionOutsideNaturalParentDiag) warning error
Warning Unreachable execution path (SFUnreachableExecutionPathDiag) warning error
Warning Undirected event broadcasts (SFUndirectedBroadcastEventsDiag) warning error
Warning Transition action specified before condition action (SFTransitionActionBeforeConditionDiag) warning error
Warning Absolute time temporal value shorter than sampling period (SFTemporalDelaySmallerThanSampleTimeDiag) warning error
Warning Self-transition on leaf state (SFSelfTransitionDiag) warning error
Warning 'Execute-at-initialization' disabled in presence of input events (SFExecutionAtInitializationDiag) warning error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for signal data

Check diagnostic settings in the model configuration that apply to signal data and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Division by singular matrix (CheckMatrixSingularityMsg) none error
Warning Underspecified data types (UnderSpecifiedDataTypeMsg) none error
Warning Wrap on overflow (IntegerOverflowMsg) warning error
Warning Saturate on overflow (IntegerSaturationMsg) warning error
Warning Inf or NaN block output (SignalInfNanChecking) none error
Warning Simulation range checking (SignalRangeChecking) none error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.



                2.26.1.5 Naming  0  0  0  0  1  0  1


  Check model file name

Identify inappropriate characters and length issues in model file name.

Passed
No issues found with model file name.


  Check model element names

Not Run



                2.26.1.6 Requirements  0  0  1  0  0  0  0


  Check for model elements that do not link to requirements

Check for model elements that do not link to a requirements document.

Warning
The following model elements do not link to a requirements document:

Recommended Action
For each model element in the list, in the Model Editor, right-click the model element, select Requirements, and specify a requirement.
Check the Traceability Matrix for viewing requirements and their links to blocks in Simulink model in a compact format.



                2.26.1.7 Code  0  0  1  0  1  0  0


  Check for blocks not recommended for MISRA C:2012

Passed


  Check configuration parameters for MISRA C:2012

Identify configuration parameters that might impact MISRA C:2012 compliant code generation.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
Warning Model Verification block enabling (AssertControl) UseLocalSettings DisableAll  
D - Warning Shared code placement (UtilityFuncGeneration) Auto Shared location  
Warning Generate shared constants (GenerateSharedConstants) Prerequisite constraint not met. off UtilityFuncGeneration
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  
Warning SupportContinuousTime Prerequisite constraint not met. off SystemTargetFile
Warning SupportNonInlinedSFcns Prerequisite constraint not met. off SystemTargetFile
Warning MAT-file logging (MatFileLogging) on off  
Warning ParenthesesLevel Prerequisite constraint not met. Standards, Maximum SystemTargetFile
Warning SuppressUnreachableDefaultCases Parameter is inactive! Enable parameter or modify dependent parameter value. off  
Warning CastingMode Prerequisite constraint not met. Standards SystemTargetFile
Warning InternalIdentifier Prerequisite constraint not met. Shortened SystemTargetFile
Warning Use division for fixed-point net slope computation (UseDivisionForNetSlopeComputation) off on, UseDivisionForReciprocalsOfIntegersOnly  
Warning EnableSignedLeftShifts Prerequisite constraint not met. off SystemTargetFile
Warning EnableSignedRightShifts Prerequisite constraint not met. off SystemTargetFile
Warning Inf or NaN block output (SignalInfNanChecking) none warning  
Warning Dynamic memory allocation in MATLAB functions (MATLABDynamicMemAlloc) on off  
Warning Undirected event broadcasts (SFUndirectedBroadcastEventsDiag) warning error  
Warning Compile-time recursion limit for MATLAB functions (CompileTimeRecursionLimit) 50 0  
Warning Enable run-time recursion for MATLAB functions (EnableRuntimeRecursion) on off  
Warning MATLABFcnDesc Prerequisite constraint not met. on GenerateComments, SystemTargetFile
Warning Leverage target hardware instruction set extensions (InstructionSetExtensions) SSE2 None  
∧ Less


Recommended Action
Modify the configuration parameters listed above to the recommended values.



        2.27 Modeling Standards for ISO 26262  0  0  27  0  36  0  36


  Display configuration management data

Not Run


  Display model metrics and complexity report

Display number of elements and name, level, and depth of subsystems for the model or subsystem

Model metrics information
Display number of elements for Simulink blocks and Stateflow constructs


Summary

Element Type Count
SubSystem 1


Simulink

Block Type Count
SimscapeMultibodyBlock 13
SubSystem 1

Model complexity information
Display name, level, and depth of subsystems


Maximum Subsystem Depth: 2

Subsystem Depth

Subsystem Name Level Depth
untitled/Solver Configuration 1 1



  Check for unconnected objects

Identify unconnected lines, input ports, and output ports in the model

Passed
There are no unconnected lines, input ports, and output ports in this model.



            2.27.1 High-Integrity Systems  0  0  27  0  34  0  35


                2.27.1.1 Simulink  0  0  1  0  11  0  26

                2.27.1.2 Stateflow  0  0  1  0  6  0  4


  Check state machine type of Stateflow charts

Identify Stateflow Charts whose State Machine Type differs from the type set in the Model Advisor Configuration Editor.

Passed
No Stateflow Charts found that deviate from recommended state machine type.


  Check usage of recursions

Not Run


  Check Stateflow debugging options

Identify whether Stateflow debugging options are set appropriately.

Warning
The following Stateflow debugging options are not set appropriately:

Parameter Current Value Recommended Values
Wrap on overflow (IntegerOverflowMsg) warning error
Simulation range checking (SignalRangeChecking) none error


Recommended Action
Change the Stateflow debugging options to the recommended value.


  Check Stateflow charts for transition paths that cross parallel state boundaries

Identify transition paths that cross parallel state boundaries in Stateflow charts.

Passed
No transition paths crossing parallel state boundaries were found in Stateflow charts.


  Check for inappropriate use of transition paths

Identify transition paths that go into and out of a state without ending on a substate.

Passed
No transition paths found that go into and out of a state without ending on a substate.


  Check Stateflow charts for strong data typing

Not Run


  Check naming of ports in Stateflow charts

Identify mismatches between names of Stateflow ports and associated signals.

Passed
There are no name mismatches between Stateflow ports and associated signals


  Check scoping of Stateflow data objects

Identify Stateflow data objects with local scope that are not scoped at the chart level or below.

Passed
All Stateflow data objects are properly scoped.


  Check Stateflow charts for uniquely defined data objects

Identify local data identifiers that are defined in multiple scopes within a chart.

Passed
No Stateflow data identifiers found to be defined in multiple scopes.


  Check assignment operations in Stateflow charts

Not Run


  Check Stateflow charts for unary operators

Not Run



                2.27.1.3 MATLAB  0  0  0  0  7  0  4


  Check usage of standardized MATLAB function headers

Identify usage of standardized function headers in MATLAB function.

Passed
No MATLAB function blocks found without standardized function headers.


  Check for MATLAB Function interfaces with inherited properties

Identify MATLAB Functions that have inputs, outputs, or parameters with inherited complexity or data type properties.

Passed
No MATLAB Function interfaces with inherited complexity or data type properties found.


  Check MATLAB Function metrics

Identify MATLAB Functions that violate code and complexity metrics.

Passed
No MATLAB Function blocks found that violate code and complexity metrics.


  Check MATLAB Code Analyzer messages

Check MATLAB functions for %#codegen directive, MATLAB Code Analyzer messages, and justification message IDs.

Passed
No MATLAB Function blocks found with Code Analyzer messages, missing %#codegen directive or inappropriate usage of justification message IDs.


  Check if/elseif/else patterns in MATLAB Function blocks

Identify if/elseif/else patterns without appropriate else conditions in embedded MATLAB code.

Passed
No inappropriate if/elseif/else patterns found.


  Check switch statements in MATLAB Function blocks

Identify inappropriately used switch statements in embedded MATLAB code.

Passed
No inappropriately used switch statements found.


  Check usage of relational operators in MATLAB Function blocks

Not Run


  Check usage of logical operators and functions in MATLAB Function blocks

Not Run


  Check type and size of condition expressions

Not Run


  Check MATLAB functions not supported for code generation

Identify MATLAB functions that are not supported for code generation.

Passed
All identified MATLAB functions are supported for code generation.


  Metrics for generated code complexity

Not Run



                2.27.1.4 Configuration  0  0  23  0  8  0  0


  Check safety-related diagnostic settings for data store memory

Check diagnostic settings in the model configuration that apply to data store memory and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Detect read before write (ReadBeforeWriteMsg) UseLocalSettings EnableAllAsError
Warning Detect write after read (WriteAfterReadMsg) UseLocalSettings EnableAllAsError
Warning Detect write after write (WriteAfterWriteMsg) UseLocalSettings EnableAllAsError
Warning Duplicate data store names (UniqueDataStoreMsg) none error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for saving

Check diagnostic settings in the model configuration that apply to saving model files.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Block diagram contains disabled library links (SaveWithDisabledLinksMsg) warning error
Warning Block diagram contains parameterized library links (SaveWithParameterizedLinksMsg) warning error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related model referencing settings

Check model referencing settings in the model configuration that might impact safety.

Passed
All constraints on model configuration parameters have been met.

Status Parameter Current Value Recommended Values
Pass Rebuild (UpdateModelReferenceTargets) IfOutOfDateOrStructuralChange AssumeUpToDate, IfOutOfDateOrStructuralChange
Pass Minimize artificial algebraic loop occurrences (ModelReferenceMinAlgLoopOccurrences) off off


  Check safety-related code generation settings for comments

Check code generation settings in the model configuration that apply comments and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
Warning Show eliminated blocks (ShowEliminatedStatement) off on GenerateComments
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  
Warning Verbose comments for 'Model default' storage class (ForceParamTrailComments) off on GenerateComments
Warning ReqsInCode Prerequisite constraint not met. on SystemTargetFile, GenerateComments
Warning Stateflow object comments (StateflowObjectComments) off on GenerateComments
Warning MATLAB source code as comments (MATLABSourceComments) off on GenerateComments


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related code generation interface settings

Check code generation interface settings in the model configuration that might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
Warning Support non-finite numbers (SupportNonFinite) on off  
Warning SupportContinuousTime Prerequisite constraint not met. off SystemTargetFile
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  
Warning SupportNonInlinedSFcns Prerequisite constraint not met. off SystemTargetFile
Warning IncludeMdlTerminateFcn Prerequisite constraint not met. off SystemTargetFile
Warning SuppressErrorStatus Prerequisite constraint not met. on SystemTargetFile
Warning MAT-file logging (MatFileLogging) on off  


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related solver settings for simulation time

Identify if the model Start time is set to 0 and Stop time is less than the Application Life Span.

Passed
No issues found with solver settings for simulation time.


  Check safety-related solver settings for solver options

Check solver settings in the model configuration that apply to solvers and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Type (SolverType) Variable-step Fixed-step
Warning Solver (SolverName) VariableStepAuto FixedStepDiscrete


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related solver settings for tasking and sample-time

Check solver settings in the model configuration that apply to tasking and sample-time constraints and might impact safety.

Passed


  Check safety-related diagnostic settings for solvers

Check diagnostic settings in the model configuration that apply to solvers and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Algebraic loop (AlgebraicLoopMsg) warning error
Warning Minimize artificial algebraic loop occurrences (ArtificialAlgebraicLoopMsg) warning error
Warning Block priority violation (BlockPriorityViolationMsg) warning error
Warning Automatic solver parameter selection (SolverPrmCheckMsg) none error
Warning State name clash (StateNameClashWarn) none warning


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for sample time

Check diagnostic settings in the model configuration that apply to sample time and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Source block specifies -1 sample time (InheritedTsInSrcMsg) warning error
Warning Enforce sample times specified by Signal Specification blocks (SigSpecEnsureSampleTimeMsg) warning error
Warning Tasks with equal priority (TasksWithSamePriorityMsg) warning error
Warning Unspecified inheritability of sample time (UnknownTsInhSupMsg) warning error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related optimization settings for logic signals

Check optimization settings in the model configuration that apply to logic signals and might impact safety.

Passed
All constraints on model configuration parameters have been met.

Status Parameter Current Value Recommended Values
Pass Implement logic signals as Boolean data (vs. double) (BooleanDataType) on on


  Check safety-related code generation settings for code style

Check code generation settings in the model configuration that apply to code style and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
Warning ParenthesesLevel Prerequisite constraint not met. Maximum, Standards SystemTargetFile
Warning PreserveExpressionOrder Prerequisite constraint not met. on SystemTargetFile
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related optimization settings for application lifespan

Check optimization settings in the model configuration that apply to application lifespan and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Application lifespan (days) (LifeSpan) auto inf


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related code generation identifier settings

Check code generation identifier settings in the model configuration that might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Not Recommended Values Prerequisites
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target    
Warning MangleLength Prerequisite constraint not met.   1, 2, 3 SystemTargetFile


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related optimization settings for data initialization

Check optimization settings in the model configuration that apply to data initialization and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  
Warning ZeroExternalMemoryAtStartup* Prerequisite constraint not met. on SystemTargetFile, CodeInterfacePackaging
Warning ZeroInternalMemoryAtStartup* Prerequisite constraint not met. on SystemTargetFile, CodeInterfacePackaging


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


* The Command-Line values provided in the table are reverse of the settings in the Configuration Parameters Dialog. Therefore, 'on' in the Command-Line corresponds to an "Off" setting in the dialog, and 'off' in the Command-Line corresponds to an "On" setting in the dialog.


  Check safety-related optimization settings for data type conversions

Check optimization settings in the model configuration that apply to data type conversions and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Remove code from floating-point to integer conversions that wraps out-of-range values (EfficientFloat2IntCast) off on


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related optimization settings for division arithmetic exceptions

Check optimization settings in the model configuration that apply to division arithmetic exceptions and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  
Warning NoFixptDivByZeroProtection Prerequisite constraint not met. off SystemTargetFile


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related optimization settings for specified minimum and maximum values

Check optimization settings in the model configuration that apply to specified minimum and maximum values and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
Warning UseSpecifiedMinMax Prerequisite constraint not met. off SystemTargetFile
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related settings for hardware implementation

Identify inconsistencies or underspecification of hardware attributes that can lead to incorrect and inefficient generated code.

Check 'Byte ordering' and 'Signed integer division rounds to' parameters

Passed
Target specification is consistent.
_________________________________________________________________________________________

Search for 'Test hardware is the same as production hardware' in the Configuration Parameters dialog box and check if it is selected. If it is cleared, identify whether target specifications match.

Check whether 'Production hardware' and 'Test hardware' match

Passed
'Test hardware is the same as production hardware' is selected or is cleared and the target specifications match.


  Check safety-related diagnostic settings for compatibility

Check diagnostic settings in the model configuration that affect compatibility and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning S-function upgrades needed (SFcnCompatibilityMsg) none error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for parameters

Check diagnostic settings in the model configuration that apply to parameters and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Detect underflow (ParameterUnderflowMsg) none error
Warning Detect precision loss (ParameterPrecisionLossMsg) warning error
Warning Detect loss of tunability (ParameterTunabilityLossMsg) warning error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for Merge blocks

Check diagnostic settings in the model configuration that apply to Merge blocks and might impact safety.

Passed
All constraints on model configuration parameters have been met.

Status Parameter Current Value Recommended Values
Pass Detect multiple driving blocks executing at the same time step (MergeDetectMultiDrivingBlocksExec) error error


  Check safety-related diagnostic settings for model initialization

Check diagnostic settings in the model configuration that affect model initialization and might impact safety.

Passed
All constraints on model configuration parameters have been met.

Status Parameter Current Value Recommended Values
Pass Underspecified initialization detection (UnderspecifiedInitializationDetection) Simplified Simplified


  Check safety-related diagnostic settings for data used for debugging

Check diagnostic settings in the model configuration that apply to data used for debugging and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Model Verification block enabling (AssertControl) UseLocalSettings DisableAll


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for signal connectivity

Check diagnostic settings in the model configuration that apply to signal connectivity and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Signal label mismatch (SignalLabelMismatchMsg) none error
Warning Unconnected block input ports (UnconnectedInputMsg) none error
Warning Unconnected block output ports (UnconnectedOutputMsg) none error
Warning Unconnected line (UnconnectedLineMsg) none error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for bus connectivity

Check diagnostic settings in the model configuration that apply to bus connectivity and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Unspecified bus object at root Outport block (RootOutportRequireBusObject) warning error
Warning Element name mismatch (BusObjectLabelMismatch) warning error
Warning Bus signal treated as vector (StrictBusMsg) ErrorLevel1 ErrorOnBusTreatedAsVector
Warning Non-bus signals treated as bus signals (NonBusSignalsTreatedAsBus) none error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings that apply to function-call connectivity

Check diagnostic settings in the model configuration that apply to function-call connectivity and might impact safety.

Passed
All constraints on model configuration parameters have been met.

Status Parameter Current Value Recommended Values
Pass InvalidFcnCallConnMsg error error
Pass Context-dependent inputs (FcnCallInpInsideContextMsg) error error


  Check safety-related diagnostic settings for type conversions

Check diagnostic settings in the model configuration that apply to type conversions and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Unnecessary type conversions (UnnecessaryDatatypeConvMsg) none warning
Warning Vector/matrix block input conversion (VectorMatrixConversionMsg) none error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for model referencing

Check diagnostic settings in the model configuration that apply to model referencing and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Port and parameter mismatch (ModelReferenceIOMismatchMessage) none error
Warning Unsupported data logging (ModelReferenceDataLoggingMessage) warning error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for Stateflow

Check diagnostic settings in the model configuration that apply to Stateflow and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Invalid input data access in chart initialization (SFInvalidInputDataAccessInChartInitDiag) warning error
Warning Transition outside natural parent (SFTransitionOutsideNaturalParentDiag) warning error
Warning Unreachable execution path (SFUnreachableExecutionPathDiag) warning error
Warning Undirected event broadcasts (SFUndirectedBroadcastEventsDiag) warning error
Warning Transition action specified before condition action (SFTransitionActionBeforeConditionDiag) warning error
Warning Absolute time temporal value shorter than sampling period (SFTemporalDelaySmallerThanSampleTimeDiag) warning error
Warning Self-transition on leaf state (SFSelfTransitionDiag) warning error
Warning 'Execute-at-initialization' disabled in presence of input events (SFExecutionAtInitializationDiag) warning error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for signal data

Check diagnostic settings in the model configuration that apply to signal data and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Division by singular matrix (CheckMatrixSingularityMsg) none error
Warning Underspecified data types (UnderSpecifiedDataTypeMsg) none error
Warning Wrap on overflow (IntegerOverflowMsg) warning error
Warning Saturate on overflow (IntegerSaturationMsg) warning error
Warning Inf or NaN block output (SignalInfNanChecking) none error
Warning Simulation range checking (SignalRangeChecking) none error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.



                2.27.1.5 Naming  0  0  0  0  1  0  1


  Check model file name

Identify inappropriate characters and length issues in model file name.

Passed
No issues found with model file name.


  Check model element names

Not Run



                2.27.1.6 Requirements  0  0  1  0  0  0  0


  Check for model elements that do not link to requirements

Check for model elements that do not link to a requirements document.

Warning
The following model elements do not link to a requirements document:

Recommended Action
For each model element in the list, in the Model Editor, right-click the model element, select Requirements, and specify a requirement.
Check the Traceability Matrix for viewing requirements and their links to blocks in Simulink model in a compact format.



                2.27.1.7 Code  0  0  1  0  1  0  0


  Check for blocks not recommended for MISRA C:2012

Passed


  Check configuration parameters for MISRA C:2012

Identify configuration parameters that might impact MISRA C:2012 compliant code generation.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
Warning Model Verification block enabling (AssertControl) UseLocalSettings DisableAll  
D - Warning Shared code placement (UtilityFuncGeneration) Auto Shared location  
Warning Generate shared constants (GenerateSharedConstants) Prerequisite constraint not met. off UtilityFuncGeneration
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  
Warning SupportContinuousTime Prerequisite constraint not met. off SystemTargetFile
Warning SupportNonInlinedSFcns Prerequisite constraint not met. off SystemTargetFile
Warning MAT-file logging (MatFileLogging) on off  
Warning ParenthesesLevel Prerequisite constraint not met. Standards, Maximum SystemTargetFile
Warning SuppressUnreachableDefaultCases Parameter is inactive! Enable parameter or modify dependent parameter value. off  
Warning CastingMode Prerequisite constraint not met. Standards SystemTargetFile
Warning InternalIdentifier Prerequisite constraint not met. Shortened SystemTargetFile
Warning Use division for fixed-point net slope computation (UseDivisionForNetSlopeComputation) off on, UseDivisionForReciprocalsOfIntegersOnly  
Warning EnableSignedLeftShifts Prerequisite constraint not met. off SystemTargetFile
Warning EnableSignedRightShifts Prerequisite constraint not met. off SystemTargetFile
Warning Inf or NaN block output (SignalInfNanChecking) none warning  
Warning Dynamic memory allocation in MATLAB functions (MATLABDynamicMemAlloc) on off  
Warning Undirected event broadcasts (SFUndirectedBroadcastEventsDiag) warning error  
Warning Compile-time recursion limit for MATLAB functions (CompileTimeRecursionLimit) 50 0  
Warning Enable run-time recursion for MATLAB functions (EnableRuntimeRecursion) on off  
Warning MATLABFcnDesc Prerequisite constraint not met. on GenerateComments, SystemTargetFile
Warning Leverage target hardware instruction set extensions (InstructionSetExtensions) SSE2 None  
∧ Less


Recommended Action
Modify the configuration parameters listed above to the recommended values.



        2.28 Modeling Standards for ISO 25119  0  0  27  0  36  0  36


  Display configuration management data

Not Run


  Display model metrics and complexity report

Display number of elements and name, level, and depth of subsystems for the model or subsystem

Model metrics information
Display number of elements for Simulink blocks and Stateflow constructs


Summary

Element Type Count
SubSystem 1


Simulink

Block Type Count
SimscapeMultibodyBlock 13
SubSystem 1

Model complexity information
Display name, level, and depth of subsystems


Maximum Subsystem Depth: 2

Subsystem Depth

Subsystem Name Level Depth
untitled/Solver Configuration 1 1



  Check for unconnected objects

Identify unconnected lines, input ports, and output ports in the model

Passed
There are no unconnected lines, input ports, and output ports in this model.



            2.28.1 High-Integrity Systems  0  0  27  0  34  0  35


                2.28.1.1 Simulink  0  0  1  0  11  0  26

                2.28.1.2 Stateflow  0  0  1  0  6  0  4


  Check state machine type of Stateflow charts

Identify Stateflow Charts whose State Machine Type differs from the type set in the Model Advisor Configuration Editor.

Passed
No Stateflow Charts found that deviate from recommended state machine type.


  Check usage of recursions

Not Run


  Check Stateflow debugging options

Identify whether Stateflow debugging options are set appropriately.

Warning
The following Stateflow debugging options are not set appropriately:

Parameter Current Value Recommended Values
Wrap on overflow (IntegerOverflowMsg) warning error
Simulation range checking (SignalRangeChecking) none error


Recommended Action
Change the Stateflow debugging options to the recommended value.


  Check Stateflow charts for transition paths that cross parallel state boundaries

Identify transition paths that cross parallel state boundaries in Stateflow charts.

Passed
No transition paths crossing parallel state boundaries were found in Stateflow charts.


  Check for inappropriate use of transition paths

Identify transition paths that go into and out of a state without ending on a substate.

Passed
No transition paths found that go into and out of a state without ending on a substate.


  Check Stateflow charts for strong data typing

Not Run


  Check naming of ports in Stateflow charts

Identify mismatches between names of Stateflow ports and associated signals.

Passed
There are no name mismatches between Stateflow ports and associated signals


  Check scoping of Stateflow data objects

Identify Stateflow data objects with local scope that are not scoped at the chart level or below.

Passed
All Stateflow data objects are properly scoped.


  Check Stateflow charts for uniquely defined data objects

Identify local data identifiers that are defined in multiple scopes within a chart.

Passed
No Stateflow data identifiers found to be defined in multiple scopes.


  Check assignment operations in Stateflow charts

Not Run


  Check Stateflow charts for unary operators

Not Run



                2.28.1.3 MATLAB  0  0  0  0  7  0  4


  Check usage of standardized MATLAB function headers

Identify usage of standardized function headers in MATLAB function.

Passed
No MATLAB function blocks found without standardized function headers.


  Check for MATLAB Function interfaces with inherited properties

Identify MATLAB Functions that have inputs, outputs, or parameters with inherited complexity or data type properties.

Passed
No MATLAB Function interfaces with inherited complexity or data type properties found.


  Check MATLAB Function metrics

Identify MATLAB Functions that violate code and complexity metrics.

Passed
No MATLAB Function blocks found that violate code and complexity metrics.


  Check MATLAB Code Analyzer messages

Check MATLAB functions for %#codegen directive, MATLAB Code Analyzer messages, and justification message IDs.

Passed
No MATLAB Function blocks found with Code Analyzer messages, missing %#codegen directive or inappropriate usage of justification message IDs.


  Check if/elseif/else patterns in MATLAB Function blocks

Identify if/elseif/else patterns without appropriate else conditions in embedded MATLAB code.

Passed
No inappropriate if/elseif/else patterns found.


  Check switch statements in MATLAB Function blocks

Identify inappropriately used switch statements in embedded MATLAB code.

Passed
No inappropriately used switch statements found.


  Check usage of relational operators in MATLAB Function blocks

Not Run


  Check usage of logical operators and functions in MATLAB Function blocks

Not Run


  Check type and size of condition expressions

Not Run


  Check MATLAB functions not supported for code generation

Identify MATLAB functions that are not supported for code generation.

Passed
All identified MATLAB functions are supported for code generation.


  Metrics for generated code complexity

Not Run



                2.28.1.4 Configuration  0  0  23  0  8  0  0


  Check safety-related diagnostic settings for data store memory

Check diagnostic settings in the model configuration that apply to data store memory and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Detect read before write (ReadBeforeWriteMsg) UseLocalSettings EnableAllAsError
Warning Detect write after read (WriteAfterReadMsg) UseLocalSettings EnableAllAsError
Warning Detect write after write (WriteAfterWriteMsg) UseLocalSettings EnableAllAsError
Warning Duplicate data store names (UniqueDataStoreMsg) none error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for saving

Check diagnostic settings in the model configuration that apply to saving model files.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Block diagram contains disabled library links (SaveWithDisabledLinksMsg) warning error
Warning Block diagram contains parameterized library links (SaveWithParameterizedLinksMsg) warning error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related model referencing settings

Check model referencing settings in the model configuration that might impact safety.

Passed
All constraints on model configuration parameters have been met.

Status Parameter Current Value Recommended Values
Pass Rebuild (UpdateModelReferenceTargets) IfOutOfDateOrStructuralChange AssumeUpToDate, IfOutOfDateOrStructuralChange
Pass Minimize artificial algebraic loop occurrences (ModelReferenceMinAlgLoopOccurrences) off off


  Check safety-related code generation settings for comments

Check code generation settings in the model configuration that apply comments and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
Warning Show eliminated blocks (ShowEliminatedStatement) off on GenerateComments
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  
Warning Verbose comments for 'Model default' storage class (ForceParamTrailComments) off on GenerateComments
Warning ReqsInCode Prerequisite constraint not met. on SystemTargetFile, GenerateComments
Warning Stateflow object comments (StateflowObjectComments) off on GenerateComments
Warning MATLAB source code as comments (MATLABSourceComments) off on GenerateComments


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related code generation interface settings

Check code generation interface settings in the model configuration that might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
Warning Support non-finite numbers (SupportNonFinite) on off  
Warning SupportContinuousTime Prerequisite constraint not met. off SystemTargetFile
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  
Warning SupportNonInlinedSFcns Prerequisite constraint not met. off SystemTargetFile
Warning IncludeMdlTerminateFcn Prerequisite constraint not met. off SystemTargetFile
Warning SuppressErrorStatus Prerequisite constraint not met. on SystemTargetFile
Warning MAT-file logging (MatFileLogging) on off  


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related solver settings for simulation time

Identify if the model Start time is set to 0 and Stop time is less than the Application Life Span.

Passed
No issues found with solver settings for simulation time.


  Check safety-related solver settings for solver options

Check solver settings in the model configuration that apply to solvers and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Type (SolverType) Variable-step Fixed-step
Warning Solver (SolverName) VariableStepAuto FixedStepDiscrete


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related solver settings for tasking and sample-time

Check solver settings in the model configuration that apply to tasking and sample-time constraints and might impact safety.

Passed


  Check safety-related diagnostic settings for solvers

Check diagnostic settings in the model configuration that apply to solvers and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Algebraic loop (AlgebraicLoopMsg) warning error
Warning Minimize artificial algebraic loop occurrences (ArtificialAlgebraicLoopMsg) warning error
Warning Block priority violation (BlockPriorityViolationMsg) warning error
Warning Automatic solver parameter selection (SolverPrmCheckMsg) none error
Warning State name clash (StateNameClashWarn) none warning


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for sample time

Check diagnostic settings in the model configuration that apply to sample time and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Source block specifies -1 sample time (InheritedTsInSrcMsg) warning error
Warning Enforce sample times specified by Signal Specification blocks (SigSpecEnsureSampleTimeMsg) warning error
Warning Tasks with equal priority (TasksWithSamePriorityMsg) warning error
Warning Unspecified inheritability of sample time (UnknownTsInhSupMsg) warning error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related optimization settings for logic signals

Check optimization settings in the model configuration that apply to logic signals and might impact safety.

Passed
All constraints on model configuration parameters have been met.

Status Parameter Current Value Recommended Values
Pass Implement logic signals as Boolean data (vs. double) (BooleanDataType) on on


  Check safety-related code generation settings for code style

Check code generation settings in the model configuration that apply to code style and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
Warning ParenthesesLevel Prerequisite constraint not met. Maximum, Standards SystemTargetFile
Warning PreserveExpressionOrder Prerequisite constraint not met. on SystemTargetFile
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related optimization settings for application lifespan

Check optimization settings in the model configuration that apply to application lifespan and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Application lifespan (days) (LifeSpan) auto inf


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related code generation identifier settings

Check code generation identifier settings in the model configuration that might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Not Recommended Values Prerequisites
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target    
Warning MangleLength Prerequisite constraint not met.   1, 2, 3 SystemTargetFile


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related optimization settings for data initialization

Check optimization settings in the model configuration that apply to data initialization and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  
Warning ZeroExternalMemoryAtStartup* Prerequisite constraint not met. on SystemTargetFile, CodeInterfacePackaging
Warning ZeroInternalMemoryAtStartup* Prerequisite constraint not met. on SystemTargetFile, CodeInterfacePackaging


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


* The Command-Line values provided in the table are reverse of the settings in the Configuration Parameters Dialog. Therefore, 'on' in the Command-Line corresponds to an "Off" setting in the dialog, and 'off' in the Command-Line corresponds to an "On" setting in the dialog.


  Check safety-related optimization settings for data type conversions

Check optimization settings in the model configuration that apply to data type conversions and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Remove code from floating-point to integer conversions that wraps out-of-range values (EfficientFloat2IntCast) off on


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related optimization settings for division arithmetic exceptions

Check optimization settings in the model configuration that apply to division arithmetic exceptions and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  
Warning NoFixptDivByZeroProtection Prerequisite constraint not met. off SystemTargetFile


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related optimization settings for specified minimum and maximum values

Check optimization settings in the model configuration that apply to specified minimum and maximum values and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
Warning UseSpecifiedMinMax Prerequisite constraint not met. off SystemTargetFile
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related settings for hardware implementation

Identify inconsistencies or underspecification of hardware attributes that can lead to incorrect and inefficient generated code.

Check 'Byte ordering' and 'Signed integer division rounds to' parameters

Passed
Target specification is consistent.
_________________________________________________________________________________________

Search for 'Test hardware is the same as production hardware' in the Configuration Parameters dialog box and check if it is selected. If it is cleared, identify whether target specifications match.

Check whether 'Production hardware' and 'Test hardware' match

Passed
'Test hardware is the same as production hardware' is selected or is cleared and the target specifications match.


  Check safety-related diagnostic settings for compatibility

Check diagnostic settings in the model configuration that affect compatibility and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning S-function upgrades needed (SFcnCompatibilityMsg) none error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for parameters

Check diagnostic settings in the model configuration that apply to parameters and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Detect underflow (ParameterUnderflowMsg) none error
Warning Detect precision loss (ParameterPrecisionLossMsg) warning error
Warning Detect loss of tunability (ParameterTunabilityLossMsg) warning error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for Merge blocks

Check diagnostic settings in the model configuration that apply to Merge blocks and might impact safety.

Passed
All constraints on model configuration parameters have been met.

Status Parameter Current Value Recommended Values
Pass Detect multiple driving blocks executing at the same time step (MergeDetectMultiDrivingBlocksExec) error error


  Check safety-related diagnostic settings for model initialization

Check diagnostic settings in the model configuration that affect model initialization and might impact safety.

Passed
All constraints on model configuration parameters have been met.

Status Parameter Current Value Recommended Values
Pass Underspecified initialization detection (UnderspecifiedInitializationDetection) Simplified Simplified


  Check safety-related diagnostic settings for data used for debugging

Check diagnostic settings in the model configuration that apply to data used for debugging and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Model Verification block enabling (AssertControl) UseLocalSettings DisableAll


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for signal connectivity

Check diagnostic settings in the model configuration that apply to signal connectivity and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Signal label mismatch (SignalLabelMismatchMsg) none error
Warning Unconnected block input ports (UnconnectedInputMsg) none error
Warning Unconnected block output ports (UnconnectedOutputMsg) none error
Warning Unconnected line (UnconnectedLineMsg) none error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for bus connectivity

Check diagnostic settings in the model configuration that apply to bus connectivity and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Unspecified bus object at root Outport block (RootOutportRequireBusObject) warning error
Warning Element name mismatch (BusObjectLabelMismatch) warning error
Warning Bus signal treated as vector (StrictBusMsg) ErrorLevel1 ErrorOnBusTreatedAsVector
Warning Non-bus signals treated as bus signals (NonBusSignalsTreatedAsBus) none error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings that apply to function-call connectivity

Check diagnostic settings in the model configuration that apply to function-call connectivity and might impact safety.

Passed
All constraints on model configuration parameters have been met.

Status Parameter Current Value Recommended Values
Pass InvalidFcnCallConnMsg error error
Pass Context-dependent inputs (FcnCallInpInsideContextMsg) error error


  Check safety-related diagnostic settings for type conversions

Check diagnostic settings in the model configuration that apply to type conversions and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Unnecessary type conversions (UnnecessaryDatatypeConvMsg) none warning
Warning Vector/matrix block input conversion (VectorMatrixConversionMsg) none error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for model referencing

Check diagnostic settings in the model configuration that apply to model referencing and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Port and parameter mismatch (ModelReferenceIOMismatchMessage) none error
Warning Unsupported data logging (ModelReferenceDataLoggingMessage) warning error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for Stateflow

Check diagnostic settings in the model configuration that apply to Stateflow and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Invalid input data access in chart initialization (SFInvalidInputDataAccessInChartInitDiag) warning error
Warning Transition outside natural parent (SFTransitionOutsideNaturalParentDiag) warning error
Warning Unreachable execution path (SFUnreachableExecutionPathDiag) warning error
Warning Undirected event broadcasts (SFUndirectedBroadcastEventsDiag) warning error
Warning Transition action specified before condition action (SFTransitionActionBeforeConditionDiag) warning error
Warning Absolute time temporal value shorter than sampling period (SFTemporalDelaySmallerThanSampleTimeDiag) warning error
Warning Self-transition on leaf state (SFSelfTransitionDiag) warning error
Warning 'Execute-at-initialization' disabled in presence of input events (SFExecutionAtInitializationDiag) warning error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for signal data

Check diagnostic settings in the model configuration that apply to signal data and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Division by singular matrix (CheckMatrixSingularityMsg) none error
Warning Underspecified data types (UnderSpecifiedDataTypeMsg) none error
Warning Wrap on overflow (IntegerOverflowMsg) warning error
Warning Saturate on overflow (IntegerSaturationMsg) warning error
Warning Inf or NaN block output (SignalInfNanChecking) none error
Warning Simulation range checking (SignalRangeChecking) none error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.



                2.28.1.5 Naming  0  0  0  0  1  0  1


  Check model file name

Identify inappropriate characters and length issues in model file name.

Passed
No issues found with model file name.


  Check model element names

Not Run



                2.28.1.6 Requirements  0  0  1  0  0  0  0


  Check for model elements that do not link to requirements

Check for model elements that do not link to a requirements document.

Warning
The following model elements do not link to a requirements document:

Recommended Action
For each model element in the list, in the Model Editor, right-click the model element, select Requirements, and specify a requirement.
Check the Traceability Matrix for viewing requirements and their links to blocks in Simulink model in a compact format.



                2.28.1.7 Code  0  0  1  0  1  0  0


  Check for blocks not recommended for MISRA C:2012

Passed


  Check configuration parameters for MISRA C:2012

Identify configuration parameters that might impact MISRA C:2012 compliant code generation.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
Warning Model Verification block enabling (AssertControl) UseLocalSettings DisableAll  
D - Warning Shared code placement (UtilityFuncGeneration) Auto Shared location  
Warning Generate shared constants (GenerateSharedConstants) Prerequisite constraint not met. off UtilityFuncGeneration
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  
Warning SupportContinuousTime Prerequisite constraint not met. off SystemTargetFile
Warning SupportNonInlinedSFcns Prerequisite constraint not met. off SystemTargetFile
Warning MAT-file logging (MatFileLogging) on off  
Warning ParenthesesLevel Prerequisite constraint not met. Standards, Maximum SystemTargetFile
Warning SuppressUnreachableDefaultCases Parameter is inactive! Enable parameter or modify dependent parameter value. off  
Warning CastingMode Prerequisite constraint not met. Standards SystemTargetFile
Warning InternalIdentifier Prerequisite constraint not met. Shortened SystemTargetFile
Warning Use division for fixed-point net slope computation (UseDivisionForNetSlopeComputation) off on, UseDivisionForReciprocalsOfIntegersOnly  
Warning EnableSignedLeftShifts Prerequisite constraint not met. off SystemTargetFile
Warning EnableSignedRightShifts Prerequisite constraint not met. off SystemTargetFile
Warning Inf or NaN block output (SignalInfNanChecking) none warning  
Warning Dynamic memory allocation in MATLAB functions (MATLABDynamicMemAlloc) on off  
Warning Undirected event broadcasts (SFUndirectedBroadcastEventsDiag) warning error  
Warning Compile-time recursion limit for MATLAB functions (CompileTimeRecursionLimit) 50 0  
Warning Enable run-time recursion for MATLAB functions (EnableRuntimeRecursion) on off  
Warning MATLABFcnDesc Prerequisite constraint not met. on GenerateComments, SystemTargetFile
Warning Leverage target hardware instruction set extensions (InstructionSetExtensions) SSE2 None  
∧ Less


Recommended Action
Modify the configuration parameters listed above to the recommended values.



        2.29 Modeling Standards for EN 50128/EN 50657  0  0  27  0  36  0  36


  Display configuration management data

Not Run


  Display model metrics and complexity report

Display number of elements and name, level, and depth of subsystems for the model or subsystem

Model metrics information
Display number of elements for Simulink blocks and Stateflow constructs


Summary

Element Type Count
SubSystem 1


Simulink

Block Type Count
SimscapeMultibodyBlock 13
SubSystem 1

Model complexity information
Display name, level, and depth of subsystems


Maximum Subsystem Depth: 2

Subsystem Depth

Subsystem Name Level Depth
untitled/Solver Configuration 1 1



  Check for unconnected objects

Identify unconnected lines, input ports, and output ports in the model

Passed
There are no unconnected lines, input ports, and output ports in this model.



            2.29.1 High-Integrity Systems  0  0  27  0  34  0  35


                2.29.1.1 Simulink  0  0  1  0  11  0  26

                2.29.1.2 Stateflow  0  0  1  0  6  0  4


  Check state machine type of Stateflow charts

Identify Stateflow Charts whose State Machine Type differs from the type set in the Model Advisor Configuration Editor.

Passed
No Stateflow Charts found that deviate from recommended state machine type.


  Check usage of recursions

Not Run


  Check Stateflow debugging options

Identify whether Stateflow debugging options are set appropriately.

Warning
The following Stateflow debugging options are not set appropriately:

Parameter Current Value Recommended Values
Wrap on overflow (IntegerOverflowMsg) warning error
Simulation range checking (SignalRangeChecking) none error


Recommended Action
Change the Stateflow debugging options to the recommended value.


  Check Stateflow charts for transition paths that cross parallel state boundaries

Identify transition paths that cross parallel state boundaries in Stateflow charts.

Passed
No transition paths crossing parallel state boundaries were found in Stateflow charts.


  Check for inappropriate use of transition paths

Identify transition paths that go into and out of a state without ending on a substate.

Passed
No transition paths found that go into and out of a state without ending on a substate.


  Check Stateflow charts for strong data typing

Not Run


  Check naming of ports in Stateflow charts

Identify mismatches between names of Stateflow ports and associated signals.

Passed
There are no name mismatches between Stateflow ports and associated signals


  Check scoping of Stateflow data objects

Identify Stateflow data objects with local scope that are not scoped at the chart level or below.

Passed
All Stateflow data objects are properly scoped.


  Check Stateflow charts for uniquely defined data objects

Identify local data identifiers that are defined in multiple scopes within a chart.

Passed
No Stateflow data identifiers found to be defined in multiple scopes.


  Check assignment operations in Stateflow charts

Not Run


  Check Stateflow charts for unary operators

Not Run



                2.29.1.3 MATLAB  0  0  0  0  7  0  4


  Check usage of standardized MATLAB function headers

Identify usage of standardized function headers in MATLAB function.

Passed
No MATLAB function blocks found without standardized function headers.


  Check for MATLAB Function interfaces with inherited properties

Identify MATLAB Functions that have inputs, outputs, or parameters with inherited complexity or data type properties.

Passed
No MATLAB Function interfaces with inherited complexity or data type properties found.


  Check MATLAB Function metrics

Identify MATLAB Functions that violate code and complexity metrics.

Passed
No MATLAB Function blocks found that violate code and complexity metrics.


  Check MATLAB Code Analyzer messages

Check MATLAB functions for %#codegen directive, MATLAB Code Analyzer messages, and justification message IDs.

Passed
No MATLAB Function blocks found with Code Analyzer messages, missing %#codegen directive or inappropriate usage of justification message IDs.


  Check if/elseif/else patterns in MATLAB Function blocks

Identify if/elseif/else patterns without appropriate else conditions in embedded MATLAB code.

Passed
No inappropriate if/elseif/else patterns found.


  Check switch statements in MATLAB Function blocks

Identify inappropriately used switch statements in embedded MATLAB code.

Passed
No inappropriately used switch statements found.


  Check usage of relational operators in MATLAB Function blocks

Not Run


  Check usage of logical operators and functions in MATLAB Function blocks

Not Run


  Check type and size of condition expressions

Not Run


  Check MATLAB functions not supported for code generation

Identify MATLAB functions that are not supported for code generation.

Passed
All identified MATLAB functions are supported for code generation.


  Metrics for generated code complexity

Not Run



                2.29.1.4 Configuration  0  0  23  0  8  0  0


  Check safety-related diagnostic settings for data store memory

Check diagnostic settings in the model configuration that apply to data store memory and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Detect read before write (ReadBeforeWriteMsg) UseLocalSettings EnableAllAsError
Warning Detect write after read (WriteAfterReadMsg) UseLocalSettings EnableAllAsError
Warning Detect write after write (WriteAfterWriteMsg) UseLocalSettings EnableAllAsError
Warning Duplicate data store names (UniqueDataStoreMsg) none error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for saving

Check diagnostic settings in the model configuration that apply to saving model files.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Block diagram contains disabled library links (SaveWithDisabledLinksMsg) warning error
Warning Block diagram contains parameterized library links (SaveWithParameterizedLinksMsg) warning error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related model referencing settings

Check model referencing settings in the model configuration that might impact safety.

Passed
All constraints on model configuration parameters have been met.

Status Parameter Current Value Recommended Values
Pass Rebuild (UpdateModelReferenceTargets) IfOutOfDateOrStructuralChange AssumeUpToDate, IfOutOfDateOrStructuralChange
Pass Minimize artificial algebraic loop occurrences (ModelReferenceMinAlgLoopOccurrences) off off


  Check safety-related code generation settings for comments

Check code generation settings in the model configuration that apply comments and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
Warning Show eliminated blocks (ShowEliminatedStatement) off on GenerateComments
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  
Warning Verbose comments for 'Model default' storage class (ForceParamTrailComments) off on GenerateComments
Warning ReqsInCode Prerequisite constraint not met. on SystemTargetFile, GenerateComments
Warning Stateflow object comments (StateflowObjectComments) off on GenerateComments
Warning MATLAB source code as comments (MATLABSourceComments) off on GenerateComments


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related code generation interface settings

Check code generation interface settings in the model configuration that might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
Warning Support non-finite numbers (SupportNonFinite) on off  
Warning SupportContinuousTime Prerequisite constraint not met. off SystemTargetFile
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  
Warning SupportNonInlinedSFcns Prerequisite constraint not met. off SystemTargetFile
Warning IncludeMdlTerminateFcn Prerequisite constraint not met. off SystemTargetFile
Warning SuppressErrorStatus Prerequisite constraint not met. on SystemTargetFile
Warning MAT-file logging (MatFileLogging) on off  


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related solver settings for simulation time

Identify if the model Start time is set to 0 and Stop time is less than the Application Life Span.

Passed
No issues found with solver settings for simulation time.


  Check safety-related solver settings for solver options

Check solver settings in the model configuration that apply to solvers and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Type (SolverType) Variable-step Fixed-step
Warning Solver (SolverName) VariableStepAuto FixedStepDiscrete


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related solver settings for tasking and sample-time

Check solver settings in the model configuration that apply to tasking and sample-time constraints and might impact safety.

Passed


  Check safety-related diagnostic settings for solvers

Check diagnostic settings in the model configuration that apply to solvers and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Algebraic loop (AlgebraicLoopMsg) warning error
Warning Minimize artificial algebraic loop occurrences (ArtificialAlgebraicLoopMsg) warning error
Warning Block priority violation (BlockPriorityViolationMsg) warning error
Warning Automatic solver parameter selection (SolverPrmCheckMsg) none error
Warning State name clash (StateNameClashWarn) none warning


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for sample time

Check diagnostic settings in the model configuration that apply to sample time and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Source block specifies -1 sample time (InheritedTsInSrcMsg) warning error
Warning Enforce sample times specified by Signal Specification blocks (SigSpecEnsureSampleTimeMsg) warning error
Warning Tasks with equal priority (TasksWithSamePriorityMsg) warning error
Warning Unspecified inheritability of sample time (UnknownTsInhSupMsg) warning error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related optimization settings for logic signals

Check optimization settings in the model configuration that apply to logic signals and might impact safety.

Passed
All constraints on model configuration parameters have been met.

Status Parameter Current Value Recommended Values
Pass Implement logic signals as Boolean data (vs. double) (BooleanDataType) on on


  Check safety-related code generation settings for code style

Check code generation settings in the model configuration that apply to code style and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
Warning ParenthesesLevel Prerequisite constraint not met. Maximum, Standards SystemTargetFile
Warning PreserveExpressionOrder Prerequisite constraint not met. on SystemTargetFile
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related optimization settings for application lifespan

Check optimization settings in the model configuration that apply to application lifespan and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Application lifespan (days) (LifeSpan) auto inf


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related code generation identifier settings

Check code generation identifier settings in the model configuration that might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Not Recommended Values Prerequisites
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target    
Warning MangleLength Prerequisite constraint not met.   1, 2, 3 SystemTargetFile


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related optimization settings for data initialization

Check optimization settings in the model configuration that apply to data initialization and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  
Warning ZeroExternalMemoryAtStartup* Prerequisite constraint not met. on SystemTargetFile, CodeInterfacePackaging
Warning ZeroInternalMemoryAtStartup* Prerequisite constraint not met. on SystemTargetFile, CodeInterfacePackaging


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


* The Command-Line values provided in the table are reverse of the settings in the Configuration Parameters Dialog. Therefore, 'on' in the Command-Line corresponds to an "Off" setting in the dialog, and 'off' in the Command-Line corresponds to an "On" setting in the dialog.


  Check safety-related optimization settings for data type conversions

Check optimization settings in the model configuration that apply to data type conversions and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Remove code from floating-point to integer conversions that wraps out-of-range values (EfficientFloat2IntCast) off on


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related optimization settings for division arithmetic exceptions

Check optimization settings in the model configuration that apply to division arithmetic exceptions and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  
Warning NoFixptDivByZeroProtection Prerequisite constraint not met. off SystemTargetFile


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related optimization settings for specified minimum and maximum values

Check optimization settings in the model configuration that apply to specified minimum and maximum values and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
Warning UseSpecifiedMinMax Prerequisite constraint not met. off SystemTargetFile
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related settings for hardware implementation

Identify inconsistencies or underspecification of hardware attributes that can lead to incorrect and inefficient generated code.

Check 'Byte ordering' and 'Signed integer division rounds to' parameters

Passed
Target specification is consistent.
_________________________________________________________________________________________

Search for 'Test hardware is the same as production hardware' in the Configuration Parameters dialog box and check if it is selected. If it is cleared, identify whether target specifications match.

Check whether 'Production hardware' and 'Test hardware' match

Passed
'Test hardware is the same as production hardware' is selected or is cleared and the target specifications match.


  Check safety-related diagnostic settings for compatibility

Check diagnostic settings in the model configuration that affect compatibility and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning S-function upgrades needed (SFcnCompatibilityMsg) none error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for parameters

Check diagnostic settings in the model configuration that apply to parameters and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Detect underflow (ParameterUnderflowMsg) none error
Warning Detect precision loss (ParameterPrecisionLossMsg) warning error
Warning Detect loss of tunability (ParameterTunabilityLossMsg) warning error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for Merge blocks

Check diagnostic settings in the model configuration that apply to Merge blocks and might impact safety.

Passed
All constraints on model configuration parameters have been met.

Status Parameter Current Value Recommended Values
Pass Detect multiple driving blocks executing at the same time step (MergeDetectMultiDrivingBlocksExec) error error


  Check safety-related diagnostic settings for model initialization

Check diagnostic settings in the model configuration that affect model initialization and might impact safety.

Passed
All constraints on model configuration parameters have been met.

Status Parameter Current Value Recommended Values
Pass Underspecified initialization detection (UnderspecifiedInitializationDetection) Simplified Simplified


  Check safety-related diagnostic settings for data used for debugging

Check diagnostic settings in the model configuration that apply to data used for debugging and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Model Verification block enabling (AssertControl) UseLocalSettings DisableAll


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for signal connectivity

Check diagnostic settings in the model configuration that apply to signal connectivity and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Signal label mismatch (SignalLabelMismatchMsg) none error
Warning Unconnected block input ports (UnconnectedInputMsg) none error
Warning Unconnected block output ports (UnconnectedOutputMsg) none error
Warning Unconnected line (UnconnectedLineMsg) none error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for bus connectivity

Check diagnostic settings in the model configuration that apply to bus connectivity and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Unspecified bus object at root Outport block (RootOutportRequireBusObject) warning error
Warning Element name mismatch (BusObjectLabelMismatch) warning error
Warning Bus signal treated as vector (StrictBusMsg) ErrorLevel1 ErrorOnBusTreatedAsVector
Warning Non-bus signals treated as bus signals (NonBusSignalsTreatedAsBus) none error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings that apply to function-call connectivity

Check diagnostic settings in the model configuration that apply to function-call connectivity and might impact safety.

Passed
All constraints on model configuration parameters have been met.

Status Parameter Current Value Recommended Values
Pass InvalidFcnCallConnMsg error error
Pass Context-dependent inputs (FcnCallInpInsideContextMsg) error error


  Check safety-related diagnostic settings for type conversions

Check diagnostic settings in the model configuration that apply to type conversions and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Unnecessary type conversions (UnnecessaryDatatypeConvMsg) none warning
Warning Vector/matrix block input conversion (VectorMatrixConversionMsg) none error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for model referencing

Check diagnostic settings in the model configuration that apply to model referencing and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Port and parameter mismatch (ModelReferenceIOMismatchMessage) none error
Warning Unsupported data logging (ModelReferenceDataLoggingMessage) warning error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for Stateflow

Check diagnostic settings in the model configuration that apply to Stateflow and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Invalid input data access in chart initialization (SFInvalidInputDataAccessInChartInitDiag) warning error
Warning Transition outside natural parent (SFTransitionOutsideNaturalParentDiag) warning error
Warning Unreachable execution path (SFUnreachableExecutionPathDiag) warning error
Warning Undirected event broadcasts (SFUndirectedBroadcastEventsDiag) warning error
Warning Transition action specified before condition action (SFTransitionActionBeforeConditionDiag) warning error
Warning Absolute time temporal value shorter than sampling period (SFTemporalDelaySmallerThanSampleTimeDiag) warning error
Warning Self-transition on leaf state (SFSelfTransitionDiag) warning error
Warning 'Execute-at-initialization' disabled in presence of input events (SFExecutionAtInitializationDiag) warning error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.


  Check safety-related diagnostic settings for signal data

Check diagnostic settings in the model configuration that apply to signal data and might impact safety.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Division by singular matrix (CheckMatrixSingularityMsg) none error
Warning Underspecified data types (UnderSpecifiedDataTypeMsg) none error
Warning Wrap on overflow (IntegerOverflowMsg) warning error
Warning Saturate on overflow (IntegerSaturationMsg) warning error
Warning Inf or NaN block output (SignalInfNanChecking) none error
Warning Simulation range checking (SignalRangeChecking) none error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.



                2.29.1.5 Naming  0  0  0  0  1  0  1


  Check model file name

Identify inappropriate characters and length issues in model file name.

Passed
No issues found with model file name.


  Check model element names

Not Run



                2.29.1.6 Requirements  0  0  1  0  0  0  0


  Check for model elements that do not link to requirements

Check for model elements that do not link to a requirements document.

Warning
The following model elements do not link to a requirements document:

Recommended Action
For each model element in the list, in the Model Editor, right-click the model element, select Requirements, and specify a requirement.
Check the Traceability Matrix for viewing requirements and their links to blocks in Simulink model in a compact format.



                2.29.1.7 Code  0  0  1  0  1  0  0


  Check for blocks not recommended for MISRA C:2012

Passed


  Check configuration parameters for MISRA C:2012

Identify configuration parameters that might impact MISRA C:2012 compliant code generation.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values Prerequisites
Warning Model Verification block enabling (AssertControl) UseLocalSettings DisableAll  
D - Warning Shared code placement (UtilityFuncGeneration) Auto Shared location  
Warning Generate shared constants (GenerateSharedConstants) Prerequisite constraint not met. off UtilityFuncGeneration
D - Warning System target file (SystemTargetFile) Non-ERT based target ERT based target  
Warning SupportContinuousTime Prerequisite constraint not met. off SystemTargetFile
Warning SupportNonInlinedSFcns Prerequisite constraint not met. off SystemTargetFile
Warning MAT-file logging (MatFileLogging) on off  
Warning ParenthesesLevel Prerequisite constraint not met. Standards, Maximum SystemTargetFile
Warning SuppressUnreachableDefaultCases Parameter is inactive! Enable parameter or modify dependent parameter value. off  
Warning CastingMode Prerequisite constraint not met. Standards SystemTargetFile
Warning InternalIdentifier Prerequisite constraint not met. Shortened SystemTargetFile
Warning Use division for fixed-point net slope computation (UseDivisionForNetSlopeComputation) off on, UseDivisionForReciprocalsOfIntegersOnly  
Warning EnableSignedLeftShifts Prerequisite constraint not met. off SystemTargetFile
Warning EnableSignedRightShifts Prerequisite constraint not met. off SystemTargetFile
Warning Inf or NaN block output (SignalInfNanChecking) none warning  
Warning Dynamic memory allocation in MATLAB functions (MATLABDynamicMemAlloc) on off  
Warning Undirected event broadcasts (SFUndirectedBroadcastEventsDiag) warning error  
Warning Compile-time recursion limit for MATLAB functions (CompileTimeRecursionLimit) 50 0  
Warning Enable run-time recursion for MATLAB functions (EnableRuntimeRecursion) on off  
Warning MATLABFcnDesc Prerequisite constraint not met. on GenerateComments, SystemTargetFile
Warning Leverage target hardware instruction set extensions (InstructionSetExtensions) SSE2 None  
∧ Less


Recommended Action
Modify the configuration parameters listed above to the recommended values.



        2.30 Model Metrics  0  0  0  0  9  0  1


            2.30.1 Count Metrics  0  0  0  0  7  0  0


  Simulink block metric

Display number of blocks in the model or subsystem.
Passed

Component Blocks
untitled 14
untitled/Solver Configuration 2


  Subsystem metric

Display number of Subsystems in the model or subsystem.
Passed

Component Subsystems
untitled 1
untitled/Solver Configuration 1


  Library link metric

Display number of library links in the model or subsystem.
Passed

Component Library Links
untitled 14
untitled/Solver Configuration 0


  Effective lines of MATLAB code metric

Display number of effective lines of MATLAB code.
No metric data available. Nothing to report for this metric.

Passed


  Stateflow chart objects metric

Display number of Stateflow objects in each chart.
No metric data available. Nothing to report for this metric.

Passed


  Lines of code for Stateflow blocks metric

Display number of code lines for Stateflow blocks.
No metric data available. Nothing to report for this metric.

Passed


  Subsystem depth metric

Display depth of subsystems in the model or subsystem.
Passed

Component Subsystem Depth
untitled/Solver Configuration 1
untitled 0



            2.30.2 Complexity Metrics  0  0  0  0  0  0  1


  Cyclomatic complexity metric

Not Run



            2.30.3 Readability Metrics  0  0  0  0  2  0  0


  Nondescriptive block name metric

Display non-descriptive names of Inport, Outport and Subsystem blocks.
Passed

Component Nondescriptive Names
untitled 0
untitled/Solver Configuration 0


  Data and structure layer separation metric

Display data and structure layer separation, defined by MAB modeling guideline db_0143.
Passed

Component Non-conforming Blocks
untitled/Solver Configuration 1
untitled 0



        2.31 Modeling Standards for MAB  0  0  10  0  121  0  29


            2.31.1 Naming Conventions  0  0  1  0  22  0  5


                2.31.1.1 General  0  0  0  0  4  0  0


  Check file names

Check the model file name to ensure that the name complies with the recommended guidelines.

Passed
All files have correct names.


  Check folder names

Check the folder name to ensure that the name complies with the recommended guidelines.

Passed
All folders have correct names.


  Check length of model file name

Identify long model file names.

Passed
Model name is valid.


  Check length of folder name at every level of model path

Identify long folder names.

Passed
Folder names are valid.



                2.31.1.2 Content  0  0  1  0  18  0  5


  Check subsystem names

Passed


  Check port block names

Passed


  Check character usage in block names

Passed


  Check length of subsystem names

Passed


  Check length of block names

Passed


  Check length of Inport and Outport names

Passed


  Check character usage in signal names and bus names

Identify signal and bus names with invalid characters.

Passed
No invalid characters are used in signal and bus names.


  Check character usage in parameter names

Not Run


  Check length of signal and bus names

Identify long signal and bus names.

Passed
All signal and bus names are valid.


  Check length of parameter names

Not Run


  Check character usage in Stateflow data names

Identify Stateflow data names with invalid characters.

Passed
No invalid characters are used in Stateflow data names.


  Check length of Stateflow data name

Check if the length of Stateflow data names is within limit.

Passed
All Stateflow data names are valid.


  Check duplication of Simulink Data names

Simulink Data names should be unique across base workspace, model workspace and data dictionary.

Passed
All Simulink Data names are unique.


  Check unused data in Simulink Model

Not Run


  Check for unused data in Stateflow Charts

Checks if the model parameter 'Unused data, events, messages and functions' is not set to 'none'.

Passed
All constraints on model configuration parameters have been met.

Status Parameter Current Value Recommended Values
Pass Unused data, events, messages and functions (SFUnusedDataAndEventsDiag) warning error, warning


  Check usage of restricted variable names

Identify usage of reserved keywords in MATLAB Function blocks.

Passed
No variable names conflict with reserved keywords


  Check Bus and Enumeration data type names

Not Run


  Check length of Bus and Enumeration data type names

Not Run


  Check data names in MATLAB Functions

Identify data names with invalid characters in MATLAB Functions.

Passed
All the data names in MATLAB Functions use valid characters.


  Check the length of data names in MATLAB Functions

Identify length of data names in MATLAB Functions.

Passed
All data name lengths in MATLAB Functions are under the acceptable limit.


  Check for overlapping or intersecting blocks and signal lines

jc_0903_b1 : Check for signal lines overlapping or intersecting other signal lines or blocks
Identify blocks, block names, signal lines, signal labels, annotations, or block annotations that overlap or intersect visibly.

Warning
The following signal lines overlap or intersect:

∧ Less
Recommended Action
Modify the Simulink model such that signal lines do not overlap or intersect.


  Check for overlapping of states and transition lines

Identify objects in Stateflow charts that visibly overlap.

Passed
Objects in Stateflow charts do not overlap.


  Check for arrowhead size of transition lines

Identify transition line arrowhead not set to size specified by the project setting.

Passed
All transition line arrowhead set to size specified by the project setting.


  Check for size of junctions

Identify junctions not set to size specified by the project setting.

Passed
All junctions set to size specified by the project setting.



            2.31.2 Simulink  0  0  9  0  39  0  15

            2.31.3 Stateflow  0  0  0  0  43  0  6


                2.31.3.1 Block/Data/Events  0  0  0  0  5  0  1


  Check for names of Stateflow ports and associated signals

Not Run


  Check execution timing for default transition path

'Execute (enter) Chart At Initialization' should be set to OFF.

Passed
All Stateflow Charts pass the check.


  Check definition of Stateflow data

Identify the Scope value set on Stateflow data defined at machine level.

Passed
All Stateflow data at machine level has been defined as per guideline.


  Check usable number for first index

Identify usage of first index of Stateflow data.

Passed
All Stateflow data first index values are uniform.


  Check scope of data in parallel states

jc_0722: Local data definition in parallel states
The scope of local variables should be restricted to one parallel state unless it is being used by other parallel states.

Passed
No Stateflow States were found.


  Check definition of Stateflow events

Stateflow events should be defined at the smallest possible scope of usage.

Passed
All Stateflow events are defined at their smallest scope.



                2.31.3.2 Diagram  0  0  0  0  14  0  0


  Check for unconnected objects in Stateflow Charts

Identify dangling transitions and unconnected Stateflow States and Junctions in Stateflow Charts.

Passed
No unconnected transitions, states or junctions found in Stateflow Charts.


  Check for exclusive states in state machines

Passed


  Check usage of parallel states

Passed


  Check Stateflow transition appearance

Identify Stateflow transitions visually overlapping other Stateflow objects.

Passed
No transition violates the guidelines for Stateflow transition appearance.


  Check default transition placement in Stateflow charts

Identify all groupings of states that do not have a default transition or do not have the default state as the top-most state.

Passed
No Stateflow charts and states found that violate the guidelines for default transition placement in Stateflow charts.


  Check usage of transitions to external states

Passed


  Check for unexpected backtracking in state transitions

Identify configuration parameter settings which identify unexpected backtracking in state transitions.

Passed
All constraints on model configuration parameters have been met.

Status Parameter Current Value Recommended Values
Pass Unexpected backtracking (SFUnexpectedBacktrackingDiag) error error


  Check usage of internal transition

Passed


  Check usage of internal transitions in Stateflow states

Identify Stateflow states using multiple internal transitions.

Passed
No Stateflow states found with multiple internal transitions


  Check prohibited combination of state action and flow chart

Passed


  Check transitions in Stateflow flow charts

Passed


  Check usage of unconditional transitions in flow charts

Identify unconditional transitions in flow charts.

Passed
All unconditional transitions adhere to the guideline.


  Check terminal junctions in Stateflow

Identify usage of terminal junctions in flow charts.

Passed
Multiple terminal junctions were not found.


  Check usage of Stateflow comments

Identify comments that are nested or contain newline(s) in the middle in Stateflow for action language 'C'.

Passed
No comments found that are either nested or contain newline(s) in the middle.



                2.31.3.3 Condition Transition/Action  0  0  0  0  12  0  5


  Check Stateflow chart action language

Passed


  Check usage of numeric literals in Stateflow

Identify use of numeric literals in Stateflow states and transitions.

Passed
No numeric literals found in Stateflow charts.


  Check for pointers in Stateflow charts

Identify pointer operations on custom code variables.
Note: This check applies only to Stateflow charts that use C as the action language.

Passed
No pointer operations were found.


  Check usage of events in Stateflow charts

Identify undirected event broadcasts in Stateflow.

Passed
No instances of undirected event broadcast were found.


  Check order of state action types

Identify out of order state action types in Stateflow states.

Passed
No Stateflow states found with out of order state action types


  Check repetition of Action types

jc_0734: Number of state action types
Identifies repeated action types in a Stateflow State.

Passed
No Stateflow States were found.


  Check if state action type 'exit' is used in the model

Check if state action type 'exit' is used in the model.

Passed
State action type 'exit' is not used in the model.


  Check updates to variables used in state transition conditions

jc_0741: Timing to update data used in state chart transition conditions

Variables used in state transition conditions must not perform an update by "during" state action type.

Passed
No Stateflow states found that violate the guidelines for updating the variables used in state transition conditions.


  Check usage of transition conditions in Stateflow transitions

Identify unconditional Stateflow transitions with higher priority than conditional transitions.

Passed
No unconditional Stateflow transitions found with higher priority than conditional transitions


  Check condition actions and transition actions in Stateflow

Identify usage of transition actions in Stateflow.

Passed
No Stateflow charts have transition actions.


  Check for MATLAB expressions in Stateflow blocks

Passed


  Check usage of floating-point expressions in Stateflow charts

Not Run


  Check Stateflow operators

Not Run


  Check prohibited comparison operation of logical type signals

Not Run


  Check usage of unary minus operations in Stateflow charts

Not Run


  Check for implicit type casting in Stateflow

Not Run


  Check usage of graphical functions in Stateflow

Check for calls between graphical functions.

Passed
No calls between graphical functions were found.



                2.31.3.4 Label Description  0  0  0  0  9  0  0


  Check uniqueness of Stateflow State, Data and Event names

jc_0732: Distinction between state names, data names, and event names
Identify Stateflow State, Stateflow Data and Stateflow Event that have identical names in a given chart.

Passed
No Stateflow charts were found.


  Check uniqueness of State names

jc_0730: Unique state name in Stateflow blocks
Identifies identical State names within a Stateflow Chart.

Passed
No Stateflow charts were found.


  Check usage of State names

jc_0731: State name format

Identify state names with '/' at its end.

Passed
No Stateflow states were found.


  Check entry formatting in State blocks in Stateflow charts

Passed


  Check indentation of code in Stateflow states

Identify non-uniform indentation in Stateflow blocks.

Passed
All Stateflow blocks have uniform indentation.


  Check position of label string in Stateflow transition

Identify placement of label string in Stateflow transition.

Passed
All Stateflow transitions are placed uniformly.


  Check position of comments in transition labels

Identify comments in transition labels that are not positioned uniformly.

Passed
Comments in transition labels are positioned uniformly.


  Check usage of parentheses in Stateflow transitions

jc_0752: Condition action in transition label

Start new line before and after parentheses for condition actions in Stateflow transitions.

Passed
No Stateflow Transitions found that violate the requirement for new line for condition actions.


  Check for comments in unconditional transitions

Identify comments in unconditional transitions without action statements.

Passed
All unconditional transitions without action statements have comments.



                2.31.3.5 Miscellaneous  0  0  0  0  3  0  0


  Check return value assignments in Stateflow graphical functions

Identify graphical functions with multiple assignments of return values in Stateflow charts.

Passed
No Stateflow charts were found.


  Check usage of Simulink functions in Stateflow

Usage of Simulink Functions in Stateflow.

Passed
All Simulink Functions in Stateflow are defined according to the guideline.


  Check use of Simulink in Stateflow charts

na_0039: Limitation on Simulink functions in Chart blocks

Check use of Stateflow charts nested inside Simulink functions used in Stateflow.

Passed
No Stateflow charts found nested inside Simulink functions used in Stateflow.



            2.31.4 MATLAB  0  0  0  0  17  0  3


                2.31.4.1 Appearance  0  0  0  0  3  0  0


  Check nested conditions in MATLAB Functions

Identify nested if/else and case statements in MATLAB Functions.

Passed
No MATLAB Function found with deeply nested if/else and case statements.


  Check for spaces in function or variable names

Identify single-byte spaces between function or variable names and left parenthesis symbol.

Passed
No spaces between function or variable names and left parenthesis symbol.


  Check function headers

Identify functions without a function header.

Passed
All functions have a function header.



                2.31.4.2 Data and Operations  0  0  0  0  3  0  1


  Check MATLAB code for global variables

Check for global variables in MATLAB code

_________________________________________________________________________________________

Check for global variables in MATLAB code used in MATLAB Function blocks

Passed
No MATLAB Function blocks found
_________________________________________________________________________________________

Check for global variables in MATLAB functions defined in Stateflow charts

Passed
No MATLAB functions defined in Stateflow charts found
_________________________________________________________________________________________

Check for global variables in called MATLAB functions

Passed
No external MATLAB functions found
_________________________________________________________________________________________


  Check usage of enumerated values

Not Run


  Check input and output settings of MATLAB Functions

Identify MATLAB Functions that have inputs, outputs, or parameters with inherited complexity, data type, or size properties.

Passed
No MATLAB Functions found in the model or subsystem.


  Check number of lines of functions

Identify functions that contain more lines than the threshold value.

Passed
The number of lines of all functions is less than or equal to the threshold value.



                2.31.4.3 Usage  0  0  0  0  11  0  2


  Check lines of code in MATLAB Functions

Identify MATLAB Functions with high number of effective lines of code.

Passed
No MATLAB Function found with high number of effective lines of code.


  Check the number of function calls in MATLAB Function blocks

Checks whether number of function calls in MATLAB Function blocks is less than 3.

Passed
Number of function calls in MATLAB Function blocks is less than 3.


  Check usage of character vector inside MATLAB Function block

Identify usage of strings in MATLAB Function blocks.

Passed
No character vectors found in MATLAB Function block


  Check usage of recommended patterns for Switch/Case statements

Identify usage of non-constant variables in Switch/Case statements.

Passed
Non-constant variables are not used as Switch/Case arguments


  Check for use of C-style comment symbols

Not Run


  Check description of execution statements

Identify multiple execution statements that are written in a single line and end without a semicolon.

Passed
All execution statements are written in new lines and end with a semicolon.


  Check for operator precedence

Identify expressions that contain operators with different priorities but do not specify clear operator precedence using parentheses.

Passed
All expressions containing operators with different priorities specify clear operator precedence using parentheses.


  Check spaces in expressions

Identify missing spaces before or after binary operators or after commas.
Identify invalid spaces between unary operators and operands.

Passed
All expressions have a space before and after binary operators and after commas, and no space between unary operators and operands.


  Check description of conditional expressions

Not Run


  Check relational operator usage

Check for correct placement of relational operator operands.

Passed
All relational operator usage is valid.


  Check for utilization of the return value of functions

Be sure to assign the return value of functions to a variable before using it.

Passed
Return value of all functions used was assigned to a variable before using it.


  Check array indices

Identify array indices calculated by an expression.

Passed
Array indices must not be calculated by an expression.


  Check for usage of non-empty statements

Identify non-empty statements that do not have any effect or do not change the control flow.

Passed
All non-empty statements have a side-effect or change the control flow.



        2.32 Modeling Standards for JMAAB v5.1  0  0  8  0  99  0  25


            2.32.1 Naming Conventions  0  0  0  0  12  0  2


  Check file names

Check the model file name to ensure that the name complies with the recommended guidelines.

Passed
All files have correct names.


  Check folder names

Check the folder name to ensure that the name complies with the recommended guidelines.

Passed
All folders have correct names.


  Check subsystem names

Passed


  Check port block names

Passed


  Check character usage in block names

Passed


  Check character usage in signal names and bus names

Identify signal and bus names with invalid characters.

Passed
No invalid characters are used in signal and bus names.


  Check character usage in parameter names

Not Run


  Check length of model file name

Identify long model file names.

Passed
Model name is valid.


  Check length of folder name at every level of model path

Identify long folder names.

Passed
Folder names are valid.


  Check length of subsystem names

Passed


  Check length of Inport and Outport names

Passed


  Check length of signal and bus names

Identify long signal and bus names.

Passed
All signal and bus names are valid.


  Check length of parameter names

Not Run


  Check length of block names

Passed



            2.32.2 Model Architecture  0  0  0  0  1  0  0


  Check for mixing basic blocks and subsystems

Identify levels in the model that include basic blocks and subsystems. Each level of a model must be designed with blocks of the same level (for example, only subsystems or only basic blocks).

Passed
The model does not mix basic blocks and subsystems at the same level.



            2.32.3 Model Configuration Options  0  0  1  0  1  0  0


  Check Implement logic signals as Boolean data (vs. double)

Identify whether Implement logic signals as Boolean data (vs. double) is selected.

Passed
Implement logic signals as Boolean data (vs. double) is selected.


  Check diagnostic settings for incorrect calculation results

Identify data validity diagnostic settings which detect incorrect calculation results.

Warning
The model configuration parameters are not set to the recommended values specified in the data file.

Status Parameter Current Value Recommended Values
Warning Division by singular matrix (CheckMatrixSingularityMsg) none error
Warning Inf or NaN block output (SignalInfNanChecking) none error
Warning Wrap on overflow (IntegerOverflowMsg) warning error
Warning Saturate on overflow (IntegerSaturationMsg) warning error


Recommended Action
Follow the links in the result table to modify the model configuration parameters.



            2.32.4 Simulink  0  0  7  0  35  0  16

            2.32.5 Stateflow  0  0  0  0  47  0  6


  Check transitions in Stateflow flow charts

Passed


  Check return value assignments in Stateflow graphical functions

Identify graphical functions with multiple assignments of return values in Stateflow charts.

Passed
No Stateflow charts were found.


  Check entry formatting in State blocks in Stateflow charts

Passed


  Check default transition placement in Stateflow charts

Identify all groupings of states that do not have a default transition or do not have the default state as the top-most state.

Passed
No Stateflow charts and states found that violate the guidelines for default transition placement in Stateflow charts.


  Check definition of Stateflow data

Identify the Scope value set on Stateflow data defined at machine level.

Passed
All Stateflow data at machine level has been defined as per guideline.


  Check for MATLAB expressions in Stateflow blocks

Passed


  Check for pointers in Stateflow charts

Identify pointer operations on custom code variables.
Note: This check applies only to Stateflow charts that use C as the action language.

Passed
No pointer operations were found.


  Check Stateflow operators

Not Run


  Check usage of unary minus operations in Stateflow charts

Not Run


  Check usage of Stateflow comments

Identify comments that are nested or contain newline(s) in the middle in Stateflow for action language 'C'.

Passed
No comments found that are either nested or contain newline(s) in the middle.


  Check prohibited comparison operation of logical type signals

Not Run


  Check usage of internal transitions in Stateflow states

Identify Stateflow states using multiple internal transitions.

Passed
No Stateflow states found with multiple internal transitions


  Check usage of transition conditions in Stateflow transitions

Identify unconditional Stateflow transitions with higher priority than conditional transitions.

Passed
No unconditional Stateflow transitions found with higher priority than conditional transitions


  Check uniqueness of Stateflow State, Data and Event names

jc_0732: Distinction between state names, data names, and event names
Identify Stateflow State, Stateflow Data and Stateflow Event that have identical names in a given chart.

Passed
No Stateflow charts were found.


  Check uniqueness of State names

jc_0730: Unique state name in Stateflow blocks
Identifies identical State names within a Stateflow Chart.

Passed
No Stateflow charts were found.


  Check usage of parentheses in Stateflow transitions

jc_0752: Condition action in transition label

Start new line before and after parentheses for condition actions in Stateflow transitions.

Passed
No Stateflow Transitions found that violate the requirement for new line for condition actions.


  Check prohibited combination of state action and flow chart

Passed


  Check condition actions and transition actions in Stateflow

Identify usage of transition actions in Stateflow.

Passed
No Stateflow charts have transition actions.


  Check usable number for first index

Identify usage of first index of Stateflow data.

Passed
All Stateflow data first index values are uniform.


  Check usage of State names

jc_0731: State name format

Identify state names with '/' at its end.

Passed
No Stateflow states were found.


  Check execution timing for default transition path

'Execute (enter) Chart At Initialization' should be set to OFF.

Passed
All Stateflow Charts pass the check.


  Check repetition of Action types

jc_0734: Number of state action types
Identifies repeated action types in a Stateflow State.

Passed
No Stateflow States were found.


  Check for unused data in Stateflow Charts

Checks if the model parameter 'Unused data, events, messages and functions' is not set to 'none'.

Passed
All constraints on model configuration parameters have been met.

Status Parameter Current Value Recommended Values
Pass Unused data, events, messages and functions (SFUnusedDataAndEventsDiag) warning error, warning


  Check updates to variables used in state transition conditions

jc_0741: Timing to update data used in state chart transition conditions

Variables used in state transition conditions must not perform an update by "during" state action type.

Passed
No Stateflow states found that violate the guidelines for updating the variables used in state transition conditions.


  Check usage of internal transition

Passed


  Check usage of parallel states

Passed


  Check scope of data in parallel states

jc_0722: Local data definition in parallel states
The scope of local variables should be restricted to one parallel state unless it is being used by other parallel states.

Passed
No Stateflow States were found.


  Check indentation of code in Stateflow states

Identify non-uniform indentation in Stateflow blocks.

Passed
All Stateflow blocks have uniform indentation.


  Check for usage of text inside states

Identify Stateflow states with text exceeding the boundary of the state.

Passed
No Stateflow states found with text exceeding the boundary of the state.


  Check for unexpected backtracking in state transitions

Identify configuration parameter settings which identify unexpected backtracking in state transitions.

Passed
All constraints on model configuration parameters have been met.

Status Parameter Current Value Recommended Values
Pass Unexpected backtracking (SFUnexpectedBacktrackingDiag) error error


  Check for unconnected objects in Stateflow Charts

Identify dangling transitions and unconnected Stateflow States and Junctions in Stateflow Charts.

Passed
No unconnected transitions, states or junctions found in Stateflow Charts.


  Check position of label string in Stateflow transition

Identify placement of label string in Stateflow transition.

Passed
All Stateflow transitions are placed uniformly.


  Check Stateflow chart action language

Passed


  Check character usage in Stateflow data names

Identify Stateflow data names with invalid characters.

Passed
No invalid characters are used in Stateflow data names.


  Check length of Stateflow data name

Check if the length of Stateflow data names is within limit.

Passed
All Stateflow data names are valid.


  Check usage of transitions to external states

Passed


  Check order of state action types

Identify out of order state action types in Stateflow states.

Passed
No Stateflow states found with out of order state action types


  Check usage of numeric literals in Stateflow

Identify use of numeric literals in Stateflow states and transitions.

Passed
No numeric literals found in Stateflow charts.


  Check position of comments in transition labels

Identify comments in transition labels that are not positioned uniformly.

Passed
Comments in transition labels are positioned uniformly.


  Check terminal junctions in Stateflow

Identify usage of terminal junctions in flow charts.

Passed
Multiple terminal junctions were not found.


  Check for implicit type casting in Stateflow

Not Run


  Check usage of graphical functions in Stateflow

Check for calls between graphical functions.

Passed
No calls between graphical functions were found.


  Check if state action type 'exit' is used in the model

Check if state action type 'exit' is used in the model.

Passed
State action type 'exit' is not used in the model.


  Check for use of C-style comment symbols

Not Run


  Check usage of unconditional transitions in flow charts

Identify unconditional transitions in flow charts.

Passed
All unconditional transitions adhere to the guideline.


  Check for comments in unconditional transitions

Identify comments in unconditional transitions without action statements.

Passed
All unconditional transitions without action statements have comments.


  Check definition of Stateflow events

Stateflow events should be defined at the smallest possible scope of usage.

Passed
All Stateflow events are defined at their smallest scope.


  Check Stateflow transition appearance

Identify Stateflow transitions visually overlapping other Stateflow objects.

Passed
No transition violates the guidelines for Stateflow transition appearance.


  Check usage of events in Stateflow charts

Identify undirected event broadcasts in Stateflow.

Passed
No instances of undirected event broadcast were found.


  Check usage of Simulink functions in Stateflow

Usage of Simulink Functions in Stateflow.

Passed
All Simulink Functions in Stateflow are defined according to the guideline.


  Check for exclusive states in state machines

Passed


  Check usage of floating-point expressions in Stateflow charts

Not Run


  Check use of Simulink in Stateflow charts

na_0039: Limitation on Simulink functions in Chart blocks

Check use of Stateflow charts nested inside Simulink functions used in Stateflow.

Passed
No Stateflow charts found nested inside Simulink functions used in Stateflow.



            2.32.6 MATLAB Functions  0  0  0  0  3  0  1


  Check input and output settings of MATLAB Functions

Identify MATLAB Functions that have inputs, outputs, or parameters with inherited complexity, data type, or size properties.

Passed
No MATLAB Functions found in the model or subsystem.


  Check MATLAB code for global variables

Check for global variables in MATLAB code

_________________________________________________________________________________________

Check for global variables in MATLAB code used in MATLAB Function blocks

Passed
No MATLAB Function blocks found
_________________________________________________________________________________________

Check for global variables in MATLAB functions defined in Stateflow charts

Passed
No MATLAB functions defined in Stateflow charts found
_________________________________________________________________________________________

Check for global variables in called MATLAB functions

Passed
No external MATLAB functions found
_________________________________________________________________________________________


  Check usage of character vector inside MATLAB Function block

Identify usage of strings in MATLAB Function blocks.

Passed
No character vectors found in MATLAB Function block


  Check usage of enumerated values

Not Run



        2.33 Modeling Standards for JMAAB v6  0  0  8  0  116  0  28


            2.33.1 Naming Conventions  0  0  0  0  14  0  4


  Check file names

Check the model file name to ensure that the name complies with the recommended guidelines.

Passed
All files have correct names.


  Check folder names

Check the folder name to ensure that the name complies with the recommended guidelines.

Passed
All folders have correct names.


  Check subsystem names

Passed


  Check port block names

Passed


  Check character usage in block names

Passed


  Check character usage in signal names and bus names

Identify signal and bus names with invalid characters.

Passed
No invalid characters are used in signal and bus names.


  Check character usage in parameter names

Not Run


  Check length of model file name

Identify long model file names.

Passed
Model name is valid.


  Check length of folder name at every level of model path

Identify long folder names.

Passed
Folder names are valid.


  Check length of subsystem names

Passed


  Check length of Inport and Outport names

Passed


  Check length of signal and bus names

Identify long signal and bus names.

Passed
All signal and bus names are valid.


  Check length of parameter names

Not Run


  Check length of block names

Passed


  Check data names in MATLAB Functions

Identify data names with invalid characters in MATLAB Functions.

Passed
All the data names in MATLAB Functions use valid characters.


  Check the length of data names in MATLAB Functions

Identify length of data names in MATLAB Functions.

Passed
All data name lengths in MATLAB Functions are under the acceptable limit.


  Check Bus and Enumeration data type names

Not Run


  Check length of Bus and Enumeration data type names

Not Run



            2.33.2 Model Architecture  0  0  0  0  1  0  0


  Check for mixing basic blocks and subsystems

Identify levels in the model that include basic blocks and subsystems. Each level of a model must be designed with blocks of the same level (for example, only subsystems or only basic blocks).

Passed
The model does not mix basic blocks and subsystems at the same level.



            2.33.3 Model Configuration Options  0  0  0  0  1  0  0


  Check Implement logic signals as Boolean data (vs. double)

Identify whether Implement logic signals as Boolean data (vs. double) is selected.

Passed
Implement logic signals as Boolean data (vs. double) is selected.



            2.33.4 Simulink  0  0  8  0  35  0  16

            2.33.5 Stateflow  0  0  0  0  49  0  6


  Check transitions in Stateflow flow charts

Passed


  Check return value assignments in Stateflow graphical functions

Identify graphical functions with multiple assignments of return values in Stateflow charts.

Passed
No Stateflow charts were found.


  Check entry formatting in State blocks in Stateflow charts

Passed


  Check default transition placement in Stateflow charts

Identify all groupings of states that do not have a default transition or do not have the default state as the top-most state.

Passed
No Stateflow charts and states found that violate the guidelines for default transition placement in Stateflow charts.


  Check definition of Stateflow data

Identify the Scope value set on Stateflow data defined at machine level.

Passed
All Stateflow data at machine level has been defined as per guideline.


  Check for MATLAB expressions in Stateflow blocks

Passed


  Check for pointers in Stateflow charts

Identify pointer operations on custom code variables.
Note: This check applies only to Stateflow charts that use C as the action language.

Passed
No pointer operations were found.


  Check Stateflow operators

Not Run


  Check usage of unary minus operations in Stateflow charts

Not Run


  Check usage of Stateflow comments

Identify comments that are nested or contain newline(s) in the middle in Stateflow for action language 'C'.

Passed
No comments found that are either nested or contain newline(s) in the middle.


  Check prohibited comparison operation of logical type signals

Not Run


  Check usage of internal transitions in Stateflow states

Identify Stateflow states using multiple internal transitions.

Passed
No Stateflow states found with multiple internal transitions


  Check usage of transition conditions in Stateflow transitions

Identify unconditional Stateflow transitions with higher priority than conditional transitions.

Passed
No unconditional Stateflow transitions found with higher priority than conditional transitions


  Check uniqueness of Stateflow State, Data and Event names

jc_0732: Distinction between state names, data names, and event names
Identify Stateflow State, Stateflow Data and Stateflow Event that have identical names in a given chart.

Passed
No Stateflow charts were found.


  Check uniqueness of State names

jc_0730: Unique state name in Stateflow blocks
Identifies identical State names within a Stateflow Chart.

Passed
No Stateflow charts were found.


  Check usage of parentheses in Stateflow transitions

jc_0752: Condition action in transition label

Start new line before and after parentheses for condition actions in Stateflow transitions.

Passed
No Stateflow Transitions found that violate the requirement for new line for condition actions.


  Check prohibited combination of state action and flow chart

Passed


  Check condition actions and transition actions in Stateflow

Identify usage of transition actions in Stateflow.

Passed
No Stateflow charts have transition actions.


  Check usable number for first index

Identify usage of first index of Stateflow data.

Passed
All Stateflow data first index values are uniform.


  Check usage of State names

jc_0731: State name format

Identify state names with '/' at its end.

Passed
No Stateflow states were found.


  Check execution timing for default transition path

'Execute (enter) Chart At Initialization' should be set to OFF.

Passed
All Stateflow Charts pass the check.


  Check repetition of Action types

jc_0734: Number of state action types
Identifies repeated action types in a Stateflow State.

Passed
No Stateflow States were found.


  Check for unused data in Stateflow Charts

Checks if the model parameter 'Unused data, events, messages and functions' is not set to 'none'.

Passed
All constraints on model configuration parameters have been met.

Status Parameter Current Value Recommended Values
Pass Unused data, events, messages and functions (SFUnusedDataAndEventsDiag) warning error, warning


  Check updates to variables used in state transition conditions

jc_0741: Timing to update data used in state chart transition conditions

Variables used in state transition conditions must not perform an update by "during" state action type.

Passed
No Stateflow states found that violate the guidelines for updating the variables used in state transition conditions.


  Check usage of internal transition

Passed


  Check usage of parallel states

Passed


  Check scope of data in parallel states

jc_0722: Local data definition in parallel states
The scope of local variables should be restricted to one parallel state unless it is being used by other parallel states.

Passed
No Stateflow States were found.


  Check indentation of code in Stateflow states

Identify non-uniform indentation in Stateflow blocks.

Passed
All Stateflow blocks have uniform indentation.


  Check for unexpected backtracking in state transitions

Identify configuration parameter settings which identify unexpected backtracking in state transitions.

Passed
All constraints on model configuration parameters have been met.

Status Parameter Current Value Recommended Values
Pass Unexpected backtracking (SFUnexpectedBacktrackingDiag) error error


  Check for unconnected objects in Stateflow Charts

Identify dangling transitions and unconnected Stateflow States and Junctions in Stateflow Charts.

Passed
No unconnected transitions, states or junctions found in Stateflow Charts.


  Check position of label string in Stateflow transition

Identify placement of label string in Stateflow transition.

Passed
All Stateflow transitions are placed uniformly.


  Check Stateflow chart action language

Passed


  Check character usage in Stateflow data names

Identify Stateflow data names with invalid characters.

Passed
No invalid characters are used in Stateflow data names.


  Check length of Stateflow data name

Check if the length of Stateflow data names is within limit.

Passed
All Stateflow data names are valid.


  Check usage of transitions to external states

Passed


  Check order of state action types

Identify out of order state action types in Stateflow states.

Passed
No Stateflow states found with out of order state action types


  Check usage of numeric literals in Stateflow

Identify use of numeric literals in Stateflow states and transitions.

Passed
No numeric literals found in Stateflow charts.


  Check position of comments in transition labels

Identify comments in transition labels that are not positioned uniformly.

Passed
Comments in transition labels are positioned uniformly.


  Check terminal junctions in Stateflow

Identify usage of terminal junctions in flow charts.

Passed
Multiple terminal junctions were not found.


  Check for implicit type casting in Stateflow

Not Run


  Check usage of graphical functions in Stateflow

Check for calls between graphical functions.

Passed
No calls between graphical functions were found.


  Check if state action type 'exit' is used in the model

Check if state action type 'exit' is used in the model.

Passed
State action type 'exit' is not used in the model.


  Check for use of C-style comment symbols

Not Run


  Check usage of unconditional transitions in flow charts

Identify unconditional transitions in flow charts.

Passed
All unconditional transitions adhere to the guideline.


  Check for comments in unconditional transitions

Identify comments in unconditional transitions without action statements.

Passed
All unconditional transitions without action statements have comments.


  Check definition of Stateflow events

Stateflow events should be defined at the smallest possible scope of usage.

Passed
All Stateflow events are defined at their smallest scope.


  Check Stateflow transition appearance

Identify Stateflow transitions visually overlapping other Stateflow objects.

Passed
No transition violates the guidelines for Stateflow transition appearance.


  Check usage of events in Stateflow charts

Identify undirected event broadcasts in Stateflow.

Passed
No instances of undirected event broadcast were found.


  Check usage of Simulink functions in Stateflow

Usage of Simulink Functions in Stateflow.

Passed
All Simulink Functions in Stateflow are defined according to the guideline.


  Check for exclusive states in state machines

Passed


  Check usage of floating-point expressions in Stateflow charts

Not Run


  Check use of Simulink in Stateflow charts

na_0039: Limitation on Simulink functions in Chart blocks

Check use of Stateflow charts nested inside Simulink functions used in Stateflow.

Passed
No Stateflow charts found nested inside Simulink functions used in Stateflow.


  Check for arrowhead size of transition lines

Identify transition line arrowhead not set to size specified by the project setting.

Passed
All transition line arrowhead set to size specified by the project setting.


  Check for size of junctions

Identify junctions not set to size specified by the project setting.

Passed
All junctions set to size specified by the project setting.


  Check for overlapping of states and transition lines

Identify objects in Stateflow charts that visibly overlap.

Passed
Objects in Stateflow charts do not overlap.



            2.33.6 MATLAB Functions  0  0  0  0  16  0  2


  Check input and output settings of MATLAB Functions

Identify MATLAB Functions that have inputs, outputs, or parameters with inherited complexity, data type, or size properties.

Passed
No MATLAB Functions found in the model or subsystem.


  Check MATLAB code for global variables

Check for global variables in MATLAB code

_________________________________________________________________________________________

Check for global variables in MATLAB code used in MATLAB Function blocks

Passed
No MATLAB Function blocks found
_________________________________________________________________________________________

Check for global variables in MATLAB functions defined in Stateflow charts

Passed
No MATLAB functions defined in Stateflow charts found
_________________________________________________________________________________________

Check for global variables in called MATLAB functions

Passed
No external MATLAB functions found
_________________________________________________________________________________________


  Check usage of character vector inside MATLAB Function block

Identify usage of strings in MATLAB Function blocks.

Passed
No character vectors found in MATLAB Function block


  Check usage of enumerated values

Not Run


  Check description of execution statements

Identify multiple execution statements that are written in a single line and end without a semicolon.

Passed
All execution statements are written in new lines and end with a semicolon.


  Check for spaces in function or variable names

Identify single-byte spaces between function or variable names and left parenthesis symbol.

Passed
No spaces between function or variable names and left parenthesis symbol.


  Check for operator precedence

Identify expressions that contain operators with different priorities but do not specify clear operator precedence using parentheses.

Passed
All expressions containing operators with different priorities specify clear operator precedence using parentheses.


  Check relational operator usage

Check for correct placement of relational operator operands.

Passed
All relational operator usage is valid.


  Check spaces in expressions

Identify missing spaces before or after binary operators or after commas.
Identify invalid spaces between unary operators and operands.

Passed
All expressions have a space before and after binary operators and after commas, and no space between unary operators and operands.


  Check for usage of non-empty statements

Identify non-empty statements that do not have any effect or do not change the control flow.

Passed
All non-empty statements have a side-effect or change the control flow.


  Check for utilization of the return value of functions

Be sure to assign the return value of functions to a variable before using it.

Passed
Return value of all functions used was assigned to a variable before using it.


  Check function headers

Identify functions without a function header.

Passed
All functions have a function header.


  Check description of conditional expressions

Not Run


  Check the number of function calls in MATLAB Function blocks

Checks whether number of function calls in MATLAB Function blocks is less than 3.

Passed
Number of function calls in MATLAB Function blocks is less than 3.


  Check nested conditions in MATLAB Functions

Identify nested if/else and case statements in MATLAB Functions.

Passed
No MATLAB Function found with deeply nested if/else and case statements.


  Check usage of recommended patterns for Switch/Case statements

Identify usage of non-constant variables in Switch/Case statements.

Passed
Non-constant variables are not used as Switch/Case arguments


  Check array indices

Identify array indices calculated by an expression.

Passed
Array indices must not be calculated by an expression.


  Check number of lines of functions

Identify functions that contain more lines than the threshold value.

Passed
The number of lines of all functions is less than or equal to the threshold value.



        2.34 Clone Detection and Model Refactoring  0  0  0  0  2  0  0


  Refactor to simplify bus element blocks

Passed


  Identify clones from a linked library file

Passed



        2.35 Simulink Code Inspector compatibility checks  0  0  7  0  8  0  54


  Check shared Embedded Code Dictionary configuration

Check shared Embedded Code Dictionary is not configured with service code interface configurations
Check whether the shared Embedded Code Dictionary linked to the model is not configured with a service code interface configuration.

Passed
The Embedded Code Dictionary does not contain a service code interface configuration.


  Check code generation settings

Verify 'Use dynamic memory allocation for model initialization' setting
Check whether Code Generation > Interface > Use dynamic memory allocation for model initialization is cleared.

Warning
This check failed because the following prerequisite(s) for the check failed :Code Generation > System target file is not set to ert.tlc or a System target file derived from ERT.This incompatibility is fatal and will prevent execution of the Code Inspector Follow the recommended action and rerun the check.

Recommended Action
Set Code Generation > System target file to ert.tlc or a System target file derived from ERT.
_________________________________________________________________________________________

Verify 'Shared code placement' setting
Check whether Code Generation > Interface > Shared code placement is set to 'Shared location'.

Warning
Code Generation > Interface > Shared code placement is not set to 'Shared location' .

Recommended Action
Set Code Generation > Interface > Shared code placement to 'Shared location' .
_________________________________________________________________________________________

Verify 'Additional code' setting
Check whether Code Generation > Custom Code > Additional code is set to "" (i.e. unspecified).

Passed
Code Generation > Custom Code > Additional code is set to "".
_________________________________________________________________________________________

Verify 'Include headers' setting
Check whether Code Generation > Custom Code > Include headers is set to "" (i.e. unspecified).

Passed
Code Generation > Custom Code > Include headers is set to "".
_________________________________________________________________________________________

Verify 'Initialize code' setting
Check whether Code Generation > Custom Code > Initialize code is set to "" (i.e. unspecified).

Passed
Code Generation > Custom Code > Initialize code is set to "".
_________________________________________________________________________________________

Verify 'Terminate code' setting
Check whether Code Generation > Custom Code > Terminate code is set to "" (i.e. unspecified).

Passed
Code Generation > Custom Code > Terminate code is set to "".
_________________________________________________________________________________________

Verify 'Disable incompatible optimizations' setting
Check whether Code Generation > Optimization > Disable incompatible optimizations is set to '-SLCI'.

Warning
Code Generation > Optimization > Disable incompatible optimizations is not set to '-SLCI' .

Recommended Action
Set Code Generation > Optimization > Disable incompatible optimizations to '-SLCI' .
_________________________________________________________________________________________

Verify 'Combine signal/state structures' setting
Check whether Code Generation > Interface > Combine signal/state structures is cleared.

Passed
Code Generation > Interface > Combine signal/state structures is cleared.
_________________________________________________________________________________________

Verify 'Array layout' setting
Check whether Code Generation > Interface > Array layout is set to 'Column-major'.

Passed
Code Generation > Interface > Array layout is set to 'Column-major'.
_________________________________________________________________________________________

Verify 'Remove code from floating-point to integer conversions that wraps out-of-range values' setting
Check whether Code Generation > Optimization > Remove code from floating-point to integer conversions that wraps out-of-range values is selected.

Warning
Code Generation > Optimization > Remove code from floating-point to integer conversions that wraps out-of-range values is cleared.

Recommended Action
Select the Code Generation > Optimization > Remove code from floating-point to integer conversions that wraps out-of-range values checkbox.
_________________________________________________________________________________________

Verify 'Remove code from floating-point to integer conversions with saturation that maps NaN to zero' setting
Check whether Code Generation > Optimization > Remove code from floating-point to integer conversions with saturation that maps NaN to zero is cleared.

Warning
Code Generation > Optimization > Remove code from floating-point to integer conversions with saturation that maps NaN to zero is selected.

Recommended Action
Clear the Code Generation > Optimization > Remove code from floating-point to integer conversions with saturation that maps NaN to zero checkbox.
_________________________________________________________________________________________

Verify 'Include comments' setting
Check whether Code Generation > Comments > Include comments is selected.

Passed
Code Generation > Comments > Include comments is selected.
_________________________________________________________________________________________

Verify 'Preserve condition expression in if statement' setting
Check whether Code Generation > Code Style > Preserve condition expression in if statement is selected.

Warning
This check failed because the following prerequisite(s) for the check failed :Code Generation > System target file is not set to ert.tlc or a System target file derived from ERT.This incompatibility is fatal and will prevent execution of the Code Inspector Follow the recommended action and rerun the check.

Recommended Action
Set Code Generation > System target file to ert.tlc or a System target file derived from ERT.
_________________________________________________________________________________________

Verify 'Code replacement library' setting
Check whether Code Generation > Interface > Code replacement library is set to 'None'.

Passed
Code Generation > Interface > Code replacement library is set to 'None'.
_________________________________________________________________________________________

Verify 'Language standard' setting
Check whether Code Generation > Language standard is set to 'C89/C90 (ANSI)' or 'C99 (ISO)'.

Passed
Code Generation > Language standard is set to 'C89/C90 (ANSI)' or 'C99 (ISO)'.
_________________________________________________________________________________________

Verify 'Classic call interface' setting
Check whether Code Generation > Interface > Classic call interface is cleared.

Warning
This check failed because the following prerequisite(s) for the check failed :Code Generation > System target file is not set to ert.tlc or a System target file derived from ERT.This incompatibility is fatal and will prevent execution of the Code Inspector Follow the recommended action and rerun the check.

Recommended Action
Set Code Generation > System target file to ert.tlc or a System target file derived from ERT.
_________________________________________________________________________________________

Verify 'Terminate function required' setting
Check whether Code Generation > Interface > Terminate function required is cleared.

Warning
This check failed because the following prerequisite(s) for the check failed :Code Generation > System target file is not set to ert.tlc or a System target file derived from ERT.This incompatibility is fatal and will prevent execution of the Code Inspector Follow the recommended action and rerun the check.

Recommended Action
Set Code Generation > System target file to ert.tlc or a System target file derived from ERT.
_________________________________________________________________________________________

Verify 'Remove code that protects against division arithmetic exceptions' setting
Check whether Code Generation > Optimization > Remove code that protects against division arithmetic exceptions is cleared.

Passed
Code Generation > Optimization > Remove code that protects against division arithmetic exceptions is cleared.
_________________________________________________________________________________________

Verify 'MAT-file logging' setting
Check whether Code Generation > Interface > MAT-file logging is cleared.

Warning
Code Generation > Interface > MAT-file logging is selected.

Recommended Action
Clear the Code Generation > Interface > MAT-file logging checkbox.
_________________________________________________________________________________________

Verify 'Pack Boolean data into bitfields' setting
Check whether Code Generation > Optimization > Pack Boolean data into bitfields is cleared.

Passed
Code Generation > Optimization > Pack Boolean data into bitfields is cleared.
_________________________________________________________________________________________

Verify 'Use bitsets for storing state configuration' setting
Check whether Code Generation > Optimization > Use bitsets for storing state configuration is cleared.

Passed
Code Generation > Optimization > Use bitsets for storing state configuration is cleared.
_________________________________________________________________________________________

Verify 'non-finite numbers' setting
Check whether Code Generation > Interface > non-finite numbers is cleared.

Warning
Code Generation > Interface > non-finite numbers is selected.

Recommended Action
Clear the Code Generation > Interface > non-finite numbers checkbox.
_________________________________________________________________________________________

Verify 'absolute time' setting
Check whether Code Generation > Interface > absolute time is cleared.

Warning
Code Generation > Interface > absolute time is selected.

Recommended Action
Clear the Code Generation > Interface > absolute time checkbox.
_________________________________________________________________________________________

Verify 'Operator to represent Bitwise and Logical Operator blocks' setting
Check whether Code Generation > Optimization > Operator to represent Bitwise and Logical Operator blocks is set to 'Same as modeled' or 'Bitwise operator'.

Passed
Code Generation > Optimization > Operator to represent Bitwise and Logical Operator blocks is set to 'Same as modeled' or 'Bitwise operator'.
_________________________________________________________________________________________

Verify 'Default parameter behavior' setting
This check applies only to referenced models. Top models are compatible for all possible values of 'Default parameter behavior'.

Passed
'Default parameter behavior' setting is compatible.
_________________________________________________________________________________________

Verify 'Remove error status field in real-time model data structure' setting
Check whether Code Generation > Interface > Remove error status field in real-time model data structure is selected.

Warning
This check failed because the following prerequisite(s) for the check failed :Code Generation > System target file is not set to ert.tlc or a System target file derived from ERT.This incompatibility is fatal and will prevent execution of the Code Inspector Follow the recommended action and rerun the check.

Recommended Action
Set Code Generation > System target file to ert.tlc or a System target file derived from ERT.
_________________________________________________________________________________________

Verify 'Create block' setting
Check whether Code Generation > Verification > Create block is set to 'none'.

Warning
This check failed because the following prerequisite(s) for the check failed :Code Generation > System target file is not set to ert.tlc or a System target file derived from ERT.This incompatibility is fatal and will prevent execution of the Code Inspector Follow the recommended action and rerun the check.

Recommended Action
Set Code Generation > System target file to ert.tlc or a System target file derived from ERT.
_________________________________________________________________________________________

Verify 'Measure function execution times' setting
Check whether Code Generation > Verification > Measure function execution times is set to 'off'.

Warning
This check failed because the following prerequisite(s) for the check failed :Code Generation > System target file is not set to ert.tlc or a System target file derived from ERT.This incompatibility is fatal and will prevent execution of the Code Inspector Follow the recommended action and rerun the check.

Recommended Action
Set Code Generation > System target file to ert.tlc or a System target file derived from ERT.
_________________________________________________________________________________________

Verify 'Signal naming' setting
Check whether Code Generation > Identifiers > Signal naming is set to 'None'.

Passed
Code Generation > Identifiers > Signal naming is set to 'None'.
_________________________________________________________________________________________

Verify 'Parameter naming' setting
Check whether Code Generation > Identifiers > Parameter naming is set to 'None'.

Passed
Code Generation > Identifiers > Parameter naming is set to 'None'.
_________________________________________________________________________________________

Verify 'TLC options' setting
Check whether Code Generation > TLC options is set to '' or '-aMaxStackVariableSize=inf'.

Passed
Code Generation > TLC options is set to '' or '-aMaxStackVariableSize=inf'.
_________________________________________________________________________________________

Verify 'variable-size signals' setting
Check whether Code Generation > Interface > variable-size signals is cleared.

Passed
Code Generation > Interface > variable-size signals is cleared.
_________________________________________________________________________________________

Verify 'Single output/update function' setting
Check whether Code Generation > Interface > Single output/update function is selected.

Warning
This check failed because the following prerequisite(s) for the check failed :Code Generation > System target file is not set to ert.tlc or a System target file derived from ERT.This incompatibility is fatal and will prevent execution of the Code Inspector Follow the recommended action and rerun the check.

Recommended Action
Set Code Generation > System target file to ert.tlc or a System target file derived from ERT.
_________________________________________________________________________________________

Verify 'Use bitsets for storing Boolean data' setting
Check whether Code Generation > Optimization > Use bitsets for storing Boolean data is cleared.

Passed
Code Generation > Optimization > Use bitsets for storing Boolean data is cleared.
_________________________________________________________________________________________

Verify 'Casting modes' setting
Check whether Code Generation > Code Style > Casting modes is set to 'Nominal' or 'Standards'.

Passed
Code Generation > Code Style > Casting modes is set to 'Nominal' or 'Standards'.
_________________________________________________________________________________________

Verify 'Suppress generation of default cases for switch statements if unreachable' setting
Check whether Code Generation > Code Style > Suppress generation of default cases for switch statements if unreachable is cleared.

Warning
This check failed because the following prerequisite(s) for the check failed :Code Generation > System target file is not set to ert.tlc or a System target file derived from ERT.This incompatibility is fatal and will prevent execution of the Code Inspector Follow the recommended action and rerun the check.

Recommended Action
Set Code Generation > System target file to ert.tlc or a System target file derived from ERT.
_________________________________________________________________________________________

Verify 'Optimize using the specified minimum and maximum values' setting
Check whether Code Generation > Optimization > Optimize using the specified minimum and maximum values is cleared.

Passed
Code Generation > Optimization > Optimize using the specified minimum and maximum values is cleared.
_________________________________________________________________________________________

Verify 'Existing shared code' setting
Check whether Code Generation > Interface > Existing shared code is set to "" (i.e. unspecified).

Passed
Code Generation > Interface > Existing shared code is set to "".
_________________________________________________________________________________________

Verify 'parameters' setting
Check whether Code Generation > Interface > parameters is cleared.

Passed
Code Generation > Interface > parameters is cleared.
_________________________________________________________________________________________

Verify 'signals' setting
Check whether Code Generation > Interface > signals is cleared.

Passed
Code Generation > Interface > signals is cleared.
_________________________________________________________________________________________

Verify 'states' setting
Check whether Code Generation > Interface > states is cleared.

Passed
Code Generation > Interface > states is cleared.
_________________________________________________________________________________________

Verify 'root-level I/O' setting
Check whether Code Generation > Interface > root-level I/O is cleared.

Passed
Code Generation > Interface > root-level I/O is cleared.
_________________________________________________________________________________________

Verify 'External mode' setting
Check whether Code Generation > Interface > External mode is cleared.

Passed
Code Generation > Interface > External mode is cleared.
_________________________________________________________________________________________

Verify 'Reuse output buffers of Model blocks' setting
Check whether Code Generation > Optimization > Reuse output buffers of Model blocks is cleared.

Warning
Code Generation > Optimization > Reuse output buffers of Model blocks is selected.

Recommended Action
Clear the Code Generation > Optimization > Reuse output buffers of Model blocks checkbox.
_________________________________________________________________________________________

Verify 'Rate Transition block code' setting
Check whether Code Generation > Code Placement > Rate Transition block code is set to 'Inline'.

Warning
This check failed because the following prerequisite(s) for the check failed :Code Generation > System target file is not set to ert.tlc or a System target file derived from ERT.This incompatibility is fatal and will prevent execution of the Code Inspector Follow the recommended action and rerun the check.

Recommended Action
Set Code Generation > System target file to ert.tlc or a System target file derived from ERT.
_________________________________________________________________________________________

Verify 'Header files' setting
Check whether Code Generation > Code Placement > Header files field contains a $U token.

Warning
This check failed because the following prerequisite(s) for the check failed :Code Generation > System target file is not set to ert.tlc or a System target file derived from ERT.This incompatibility is fatal and will prevent execution of the Code Inspector Follow the recommended action and rerun the check.

Recommended Action
Set Code Generation > System target file to ert.tlc or a System target file derived from ERT.


  Check data import and export settings

Verify 'Initial state' setting
Check whether Data Import/Export > Initial state is cleared.

Passed
Data Import/Export > Initial state is cleared.


  Check diagnostic settings

Verify 'Multitask data store' setting
Check whether Diagnostics > Data Validity > Multitask data store is set to 'error'.

Passed
Diagnostics > Data Validity > Multitask data store is set to 'error'.
_________________________________________________________________________________________

Verify 'Multitask data transfer' setting
Check whether Diagnostics > Sample Time > Multitask data transfer is set to 'error'.

Passed
Diagnostics > Sample Time > Multitask data transfer is set to 'error'.
_________________________________________________________________________________________

Verify 'Multitask conditionally executed subsystem' setting
Check whether Diagnostics > Sample Time > Multitask conditionally executed subsystem is set to 'error'.

Passed
Diagnostics > Sample Time > Multitask conditionally executed subsystem is set to 'error'.
_________________________________________________________________________________________

Verify 'Algebraic loop' setting
Check whether Diagnostics > Algebraic loop is set to 'error'.

Warning
Diagnostics > Algebraic loop is not set to 'error' .

Recommended Action
Set Diagnostics > Algebraic loop to 'error' .
_________________________________________________________________________________________

Verify 'Underspecified initialization detection' setting
Check whether Diagnostics > Data Validity > Underspecified initialization detection is set to 'Simplified'.

Passed
Diagnostics > Data Validity > Underspecified initialization detection is set to 'Simplified'.
_________________________________________________________________________________________

Verify 'Non-bus signals treated as bus signals' setting
Check whether Diagnostics > Connectivity > Non-bus signals treated as bus signals is set to 'error'.

Warning
Diagnostics > Connectivity > Non-bus signals treated as bus signals is not set to 'error' .This incompatibility is fatal and will prevent execution of the Code Inspector

Recommended Action
Set Diagnostics > Connectivity > Non-bus signals treated as bus signals to 'error' .
_________________________________________________________________________________________

Verify 'Detect downcast' setting
Check whether Diagnostics > Data Validity > Detect downcast is set to 'error'.

Passed
Diagnostics > Data Validity > Detect downcast is set to 'error'.
_________________________________________________________________________________________

Verify 'Detect overflow' setting
Check whether Diagnostics > Data Validity > Detect overflow is set to 'error'.

Passed
Diagnostics > Data Validity > Detect overflow is set to 'error'.
_________________________________________________________________________________________

Verify 'Wrap on overflow' setting
Check whether Diagnostics > Data Validity > Wrap on overflow is set to 'error'.

Warning
Diagnostics > Data Validity > Wrap on overflow is not set to 'error' .

Recommended Action
Set Diagnostics > Data Validity > Wrap on overflow to 'error' .
_________________________________________________________________________________________

Verify 'Saturate on overflow' setting
Check whether Diagnostics > Data Validity > Saturate on overflow is set to 'error'.

Warning
Diagnostics > Data Validity > Saturate on overflow is not set to 'error' .

Recommended Action
Set Diagnostics > Data Validity > Saturate on overflow to 'error' .
_________________________________________________________________________________________

Verify 'Detect underflow' setting
Check whether Diagnostics > Data Validity > Detect underflow is set to 'error'.

Warning
Diagnostics > Data Validity > Detect underflow is not set to 'error' .

Recommended Action
Set Diagnostics > Data Validity > Detect underflow to 'error' .
_________________________________________________________________________________________

Verify 'Detect loss of tunability' setting
Check whether Diagnostics > Data Validity > Detect loss of tunability is set to 'error'.

Warning
Diagnostics > Data Validity > Detect loss of tunability is not set to 'error' .

Recommended Action
Set Diagnostics > Data Validity > Detect loss of tunability to 'error' .
_________________________________________________________________________________________

Verify 'Allow symbolic dimension specification' setting
Check whether Diagnostics > Allow symbolic dimension specification is cleared.

Warning
Diagnostics > Allow symbolic dimension specification is selected.

Recommended Action
Clear the Diagnostics > Allow symbolic dimension specification checkbox.
_________________________________________________________________________________________

Verify 'Unexpected backtracking' setting
Check whether Diagnostics > Stateflow > Unexpected backtracking is set to 'error'.

Passed
Diagnostics > Stateflow > Unexpected backtracking is set to 'error'.
_________________________________________________________________________________________

Verify 'Invalid input data access in chart initialization' setting
Check whether Diagnostics > Stateflow > Invalid input data access in chart initialization is set to 'error'.

Warning
Diagnostics > Stateflow > Invalid input data access in chart initialization is not set to 'error' .

Recommended Action
Set Diagnostics > Stateflow > Invalid input data access in chart initialization to 'error' .
_________________________________________________________________________________________

Verify 'No unconditional default transitions' setting
Check whether Diagnostics > Stateflow > No unconditional default transitions is set to 'error'.

Passed
Diagnostics > Stateflow > No unconditional default transitions is set to 'error'.
_________________________________________________________________________________________

Verify 'Transition outside natural parent' setting
Check whether Diagnostics > Stateflow > Transition outside natural parent is set to 'error'.

Warning
Diagnostics > Stateflow > Transition outside natural parent is not set to 'error' .

Recommended Action
Set Diagnostics > Stateflow > Transition outside natural parent to 'error' .
_________________________________________________________________________________________

Verify 'Unreachable execution path' setting
Check whether Diagnostics > Stateflow > Unreachable execution path is set to 'error'.

Warning
Diagnostics > Stateflow > Unreachable execution path is not set to 'error' .

Recommended Action
Set Diagnostics > Stateflow > Unreachable execution path to 'error' .
_________________________________________________________________________________________

Verify 'Undirected event broadcasts' setting
Check whether Diagnostics > Stateflow > Undirected event broadcasts is set to 'error'.

Warning
Diagnostics > Stateflow > Undirected event broadcasts is not set to 'error' .

Recommended Action
Set Diagnostics > Stateflow > Undirected event broadcasts to 'error' .
_________________________________________________________________________________________

Verify 'Transition action specified before condition action' setting
Check whether Diagnostics > Stateflow > Transition action specified before condition action is set to 'error'.

Warning
Diagnostics > Stateflow > Transition action specified before condition action is not set to 'error' .

Recommended Action
Set Diagnostics > Stateflow > Transition action specified before condition action to 'error' .
_________________________________________________________________________________________

Verify Bus signal treated as vector setting
Check whether Diagnostics > Connectivity > Bus signal treated as vector is set to 'error'

Warning
Diagnostics > Connectivity > Bus signal treated as vector is not set to error.This incompatibility is fatal and will prevent execution of the Code Inspector

Recommended Action
Set Diagnostics > Connectivity > Bus signal treated as vector to error.


  Check hardware implementation settings

Verify 'char' setting
Check whether Hardware Implementation > char is set to '8'.

Passed
Hardware Implementation > char is set to '8'.
_________________________________________________________________________________________

Verify 'short' setting
Check whether Hardware Implementation > short is set to '16'.

Passed
Hardware Implementation > short is set to '16'.
_________________________________________________________________________________________

Verify 'int' setting
Check whether Hardware Implementation > int is set to '32'.

Passed
Hardware Implementation > int is set to '32'.
_________________________________________________________________________________________

Verify 'float' setting
Check whether Hardware Implementation > float is set to '32'.

Passed
Hardware Implementation > float is set to '32'.
_________________________________________________________________________________________

Verify 'double' setting
Check whether Hardware Implementation > double is set to '64'.

Passed
Hardware Implementation > double is set to '64'.
_________________________________________________________________________________________

Verify 'pointer' setting
Check whether Hardware Implementation > pointer is set to '32'.

Warning
Hardware Implementation > pointer is not set to '32' .

Recommended Action
Set Hardware Implementation > pointer to '32' . Select a compatible device with attributes matching those listed in the SLCI Hardware Implementation checks and the SLCI documentation.
_________________________________________________________________________________________

Verify 'size_t' setting
Check whether Hardware Implementation > size_t is set to '32'.

Warning
Hardware Implementation > size_t is not set to '32' .

Recommended Action
Set Hardware Implementation > size_t to '32' . Select a compatible device with attributes matching those listed in the SLCI Hardware Implementation checks and the SLCI documentation.
_________________________________________________________________________________________

Verify 'ptrdiff_t' setting
Check whether Hardware Implementation > ptrdiff_t is set to '32'.

Warning
Hardware Implementation > ptrdiff_t is not set to '32' .

Recommended Action
Set Hardware Implementation > ptrdiff_t to '32' . Select a compatible device with attributes matching those listed in the SLCI Hardware Implementation checks and the SLCI documentation.
_________________________________________________________________________________________

Verify 'native' setting
Check whether Hardware Implementation > native is set to '32'.

Warning
Hardware Implementation > native is not set to '32' .

Recommended Action
Set Hardware Implementation > native to '32' . Select a compatible device with attributes matching those listed in the SLCI Hardware Implementation checks and the SLCI documentation.
_________________________________________________________________________________________

Verify 'Signed integer division rounds to' setting
Check whether Hardware Implementation > Signed integer division rounds to is set to 'Zero'.

Passed
Hardware Implementation > Signed integer division rounds to is set to 'Zero'.
_________________________________________________________________________________________

Verify 'Shift right on a signed integer as arithmetic shift' setting
Check whether Hardware Implementation > Shift right on a signed integer as arithmetic shift is selected.

Passed
Hardware Implementation > Shift right on a signed integer as arithmetic shift is selected.
_________________________________________________________________________________________

Verify 'long' setting
Check whether Hardware Implementation > long is set to '32' or '64'.

Passed
Hardware Implementation > long is set to '32' or '64'.
_________________________________________________________________________________________

Verify 'long long' setting
Check whether Hardware Implementation > long long is set to '64'.

Passed
Hardware Implementation > long long is set to '64'.
_________________________________________________________________________________________

Verify 'Test hardware is the same as production hardware' setting
Check whether Hardware Implementation > Test hardware is the same as production hardware is selected.

Passed
Hardware Implementation > Test hardware is the same as production hardware is selected.
_________________________________________________________________________________________

Verify 'Device vendor' setting
Identify whether Hardware Implementation > Device vendor is not set to 'ASIC/FPGA->ASIC/FPGA' .

Passed
Hardware Implementation > Device vendor is not set to 'ASIC/FPGA->ASIC/FPGA' .


  Check math and data types settings

Verify 'Implement logic signals as Boolean data (vs. double)' setting
Check whether Math and Data Types > Implement logic signals as Boolean data (vs. double) is selected.

Passed
Math and Data Types > Implement logic signals as Boolean data (vs. double) is selected.
_________________________________________________________________________________________

Verify 'Use algorithms optimized for row-major array layout' setting
Check whether Math and Data Types > Use algorithms optimized for row-major array layout is cleared.

Passed
Math and Data Types > Use algorithms optimized for row-major array layout is cleared.


  Check solver settings

Verify 'Type' setting
Check whether Solver > Type is set to 'Fixed-step'.

Warning
Solver > Type is not set to 'Fixed-step' .

Recommended Action
Set Solver > Type to 'Fixed-step' .
_________________________________________________________________________________________

Verify 'Solver' setting
Check whether Solver > Solver is set to 'FixedStepDiscrete'.

Warning
Solver > Solver is not set to 'FixedStepDiscrete' .

Recommended Action
Set Solver > Solver to 'FixedStepDiscrete' .
_________________________________________________________________________________________

Verify 'Periodic sample time constraint' setting
Check whether Solver > Periodic sample time constraint is set to 'Unconstrained' or 'STIndependent'.

Warning
This check failed because the following prerequisite(s) for the check failed : Solver > Type is not set to 'Fixed-step' . Follow the recommended action and rerun the check.

Recommended Action
Set Solver > Type to 'Fixed-step' .
_________________________________________________________________________________________

Verify 'Automatically handle rate transition for data transfer' setting
Check whether Solver > Automatically handle rate transition for data transfer is cleared.

Warning
This check failed because the following prerequisite(s) for the check failed : Solver > Type is not set to 'Fixed-step' . Follow the recommended action and rerun the check.

Recommended Action
Set Solver > Type to 'Fixed-step' .
_________________________________________________________________________________________

Verify 'Allow tasks to execute concurrently on target' setting
Check whether Solver > Allow tasks to execute concurrently on target is cleared.

Passed
Solver > Allow tasks to execute concurrently on target is cleared.


  Check for unconnected objects in the model

Check for unconnected objects
Identify unconnected lines, input ports, and output ports in the model or subsystem

Passed
There are no unconnected lines, input ports, or output ports in the model or subsystem.


  Check system target file setting

Verify System target file setting
Check whether Code Generation > System target file is ert.tlc or a System target file derived from ERT

Warning
Code Generation > System target file is not set to ert.tlc or a System target file derived from ERT.This incompatibility is fatal and will prevent execution of the Code Inspector

Recommended Action
Set Code Generation > System target file to ert.tlc or a System target file derived from ERT.


  Check function specification setting

Check model interface settings
Check whether the Configure arguments for Step function prototype setting in the Configure C Step Function Interface dialog box is cleared.

Warning
This check failed because the following prerequisite(s) for the check failed :

Code Generation > System target file is not set to ert.tlc or a System target file derived from ERT.This incompatibility is fatal and will prevent execution of the Code Inspector

Recommended Action
Set Code Generation > System target file to ert.tlc or a System target file derived from ERT.


  Check for usage of fixed-point instrumentation

Not Run


  Check for unsupported blocks

Check for blocks not supported by Simulink Code Inspector
Identify blocks that are not supported by Simulink Code Inspector

Warning
The following block(s) are not supported by Simulink Code Inspector:

Blocks Block Type
untitled/Solver Configuration/a PMIOPort
untitled/Belt-Cable Properties SimscapeMultibodyBlock
untitled/Belt-Cable Spool SimscapeMultibodyBlock
untitled/Belt-Cable Spool1 SimscapeMultibodyBlock
untitled/Cylindrical Solid SimscapeMultibodyBlock
untitled/Mechanism Configuration SimscapeMultibodyBlock
untitled/Pulley SimscapeMultibodyBlock
untitled/Revolute Joint SimscapeMultibodyBlock
untitled/Revolute Joint1 SimscapeMultibodyBlock
untitled/Revolute Joint2 SimscapeMultibodyBlock
untitled/Rigid Transform SimscapeMultibodyBlock
untitled/Rigid Transform1 SimscapeMultibodyBlock
untitled/Rigid Transform2 SimscapeMultibodyBlock
untitled/World Frame SimscapeMultibodyBlock
∧ Less


Recommended Action
Replace previously listed blocks with supported blocks. Review the unsupported block section of the Simulink Code Inspector documentation and follow the given advice.


  Check storage class for workspace variables

Not Run


  Check GetSet storage class for workspace variables

Not Run


  Check for sample times in the model

Not Run


  Check usage of Sources blocks

Not Run


  Check usage of Signal Routing blocks

Not Run


  Check usage of Math Operations blocks

Not Run


  Check usage of Signal Attributes blocks

Not Run


  Check usage of Logical and Bit Operations blocks

Not Run


  Check usage of Lookup Tables blocks

Not Run


  Check usage of User-Defined Function blocks

Not Run


  Check usage of Ports and Subsystems blocks

Not Run


  Check usage of Discontinuities blocks

Not Run


  Check usage of Sinks blocks

Not Run


  Check usage of Discrete blocks

Not Run


  Check usage of root Outport blocks

Not Run


  Check for unsupported Signal Conversion blocks automatically inserted at signals entering block input ports

Not Run


  Check usage of buses

Not Run


  Check for usage of synthesized local data stores

Not Run


  Check usage of global data stores

Not Run


  Check global data stores' name shadow

Not Run


  Check conditional input branch execution setting

Not Run


  Check usage of Stateflow blocks

Not Run


  Check usage of Stateflow charts

Not Run


  Check usage of Stateflow data

Not Run


  Check usage of Stateflow events

Not Run


  Check usage of Stateflow states

Not Run


  Check usage of Stateflow junctions

Not Run


  Check usage of Stateflow transitions

Not Run


  Check usage of Stateflow graphical functions

Not Run


  Check usage of Stateflow truth tables

Not Run


  Check Loop unrolling threshold setting

Not Run


  Check destinations of If and Switchcase blocks

Not Run


  Check for root Outport blocks that have non-auto storage class

Not Run


  Check for Terminator blocks that connect to Model block outports

Not Run


  Check for unsupported propagation of initial condition values

Not Run


  Check data type replacement names

Not Run


  Check usage of MATLAB Function Blocks

Not Run


  Check usage of Data in MATLAB Functions

Not Run


  Check usage of Code in MATLAB Functions

No Code in MATLAB Functions were found
_________________________________________________________________________________________


  Check MATLAB Code Analyzer messages

Check MATLAB code used in MATLAB Function blocks

Passed
No MATLAB Function blocks found
_________________________________________________________________________________________

Check MATLAB functions defined in Stateflow charts

Passed
No MATLAB functions defined in Stateflow charts found
_________________________________________________________________________________________

Check called MATLAB functions

Passed
No external MATLAB functions found
_________________________________________________________________________________________


  Check for multiple sample times in model used as a model reference target

Not Run


  Check Treat each discrete rate as a separate task setting

Not Run


  Check model for commented out blocks

Not Run


  Check model for void_void subsystems that use the same function name

Not Run


  Check n-D Lookup Table blocks for incompatible breakpoint data type

Not Run


  Check model for reusable subsystems that use the same function interfaces

Not Run


  Check for usage of shared synthesized local data stores

Not Run


  Check for unsupported Code Mapping settings

Check for unsupported usage of Storage Class on the Data Defaults tab of the Code Mappings editor.
Identify unsupported Storage Class settings for model element categories on the Data Defaults tab of the Code Mappings editor.

Passed
There is no unsupported Storage Class setting for model element categories on the Data Defaults tab of the Code Mappings editor.


  Check model for compiled and graphical block sorted order

Not Run


  Check usage of String blocks

Not Run


  Check usage of shared utilities

Not Run


  Check model arguments for storage classes

Verify that model arguments do not have a storage class
Check if model arguments have a storage class.

Passed
The model does not contain any model arguments with a storage class.


  Check usage of Stateflow MATLAB action language

Not Run


  Verify 'Generate an example main program' setting of multirate models

Not Run


  Check for unsupported signal identifiers specified in Code Mappings editor

Not Run


  Check usage of Stateflow atomic subcharts

Not Run


  Check for unsupported usage of 64-bit data types

Not Run



        2.36 Frequency Response Estimation  0  0  0  0  0  0  1


  Identify time-varying source blocks interfering with frequency response estimation

Not Run



        2.37 Simulink Design Verifier Compatibility Check  0  0  0  0  0  0  1


  Check compatibility with Simulink Design Verifier

Not Run



        2.38 Simulink Design Verifier Design Error Checks  0  0  0  0  0  0  13


  Check for dead logic

Not Run


  Check for out of bound array access

Not Run


  Check for division by zero

Not Run


  Check for integer overflow

Not Run


  Check for non-finite and NaN floating-point values

Not Run


  Check for subnormal floating-point values

Not Run


  Check for specified minimum and maximum value violations

Not Run


  Check for data store access violations

Not Run


  Check for block input range violations

Not Run


  Check usage of remainder and reciprocal operations - hisl_0002

Not Run


  Check usage of square root operations - hisl_0003

Not Run


  Check usage of log and log10 operations - hisl_0004

Not Run


  Check usage of Reciprocal Square Root Blocks - hisl_0028

Not Run



        2.39 Requirements Consistency Checking  0  0  0  0  4  0  0


  Identify requirement links with missing documents

Passed


  Identify requirement links that specify invalid locations within documents

Passed


  Identify selection-based links having description fields that do not match their requirements document text

Passed


  Identify requirement links with path type inconsistent with preferences

Passed